1

Using xMAget with Node.js and passing it params

Hey all,

I have the xMAgent all set up on my server and am now trying to figure out how to get the next steps working.

I would like to initiate the agent to run a Node.js script. I also need to be able to feed this script a payload of data, ideally as defined arguments, much like you would in a function

Example --- var printInfo = function (name, age, gender, location) {...}

What I am now trying to figure out is how to both initiate the Node.js script as well as howto pass it the various params that it will need when executing the script.

Any ideas?

8 comments

Please sign in to leave a comment.