Run Performer on same user as Dispatcher via Queue Triggers

Our setup is multiple users triggering the robot on the same machine.

The issue is when a user runs the Dispatcher, the Queue Trigger will run the performer on another user of the same machine, instead of the user that triggers the robot.

Is there a way for the Queue Trigger to run the Performer on the same user that started the Dispatcher job without specifying the Account (user) on the Queue Trigger?


hi @mj.work
try to specified the account here and the machine

Hello. Is there a way for that to automatically run on the user that run the Dispatcher without manually setting the User/Account in the Queue Trigger?

dear
if you set it manually the first time it will be dynamic using the account that you chose

Alternatively, you can use a dispatcher-performer hybrid version of the REF.

If your dispatcher is relatively lightweight, such as reading an excel or mailbox, make that a sequence in the Init phase of your robot. Be sure to cover proper errorhandling / retry scopes for this part.

Once the dispatcher workflow within the init is done, the process loop will get all the items rom the queue one by one. You will not need a separate queuetrigger.

It has its pro’s and cons but it will guarantee that the performer part will run on the same robot instance as the dispatcher. (Providing no exotic erors occur and you process the entire queue during execution). You will give up the option of scalability though.