How to launch processB from processA, but with different robot accounts

Due to access limitations, i need to run part of a job using another set of credentials. Process A passes a datatable to Process B, wait for it to complete, and then resume Process A.

I can’t find a way to set a default account for Process B or set that input when starting a job with Process A. I guess i can use a queue trigger but looking for a better solution. Any ideas?

Hi @nameless

You can use start job api call and specify the robot using which you would like to start the job.

Please refer below KB from UiPath on same. It shows how the payload will look for specific robot account usage.

https://uipath.my.salesforce-sites.com/CaseView/articles/Knowledge/start-a-job-using-Orchestrator-API

Hope this helps.

@nameless

Try Run Job activity.

How to you provide machine/user account to the run job activity?

@nameless

when you create the process you can give a account and machine same would be used..in the activity you cannot pass

cheers

@nameless

When you configure a trigger or click on run process from Process tab, you will s e the option to select the account to run with along with the machine template and machine.