I currently Have an agent in Prod and setup to run in Assistant. When I run it in Assitant It picks up an account available in that folder however the prompt fails consistently.
But when I run the same Agent in Orchestrator manually, it picks up my personal account (My name) and runs successfully.
Is there a way to use the identiy of the user logged into assistant instead of picking up random accounts?
Is there a way to configure the Agent to ONLY pick up a users account when running in Assistant?
Agents run from UiPath Assistant use the robot/folder identity, not the logged-in user, so they may pick any available account in the folder. There is no way to force Assistant to use the user’s identity.
Make the Agent user-independent by resolving the process using Process Name / Process ID / Use Case ID, not the executing user. This ensures it works the same from Assistant and Orchestrator.
The problem is that you are trying to run an API workflow, which only runs in Serverless Robots and they do not support any particular user identity or credential to run, they just require an unattended account to run the process. So they pick up any available unattended account unless specified like in your case - Running using your account from Orchestrator.
Some of the solutions for this are-
Remove other accounts from the process folder and just keep yours.
Or you can use the Account- Machine mapping feature of UiPath to specify a particular account to be used for a machine template. So whenever the process runs using the machine template, it prefers that account only.