One bot for multiple users using NodeRED

Hey Team,

I am trying to run a bot for multiple user such that Queue geneteing from the bot should be unique for each user. Please help!!

If i got you want a OpenRPA Flow to use different queues?
Then you have to set it up with an input argument that is the name of the queue and when calling it from nodeRED set it to the value of that users Queue.

I’ve created a bot that sends notifications. Now I want to schedule this bot in Node-RED so it can run for multiple users.

While scheduling, we usually pass the robot name, but in my case I’d like to pass this robot name dynamically so the same bot can run for different users.

You can send information to the robot workflow from Node-RED. If msg.payload contains an object with properties, then it will map each property of the msg.payload object to an argument on the workflow.

So, add an argument to the workflow and let’s call it robotname, all in lowercase. Set it to be in or in/out.

Then in Node-RED, use the function node to assign an object to msg.payload, something like this:

msg.payload = {"robotname": "robot1"};
return msg;

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.