How to trigger?

Two users triggerig the same UiPath workflow at the same time with different credentials for portal login.I have duplicated the single workflow for 3 files.If the multiple users triggeres the same workflow in external application
,the orchestrator need to choose which file is free now for execution and the credentials for that file start to execute that file.

@Prabhakaran_Elango

I assume you have developed a robot to run a fix set of activities. The only difference will be the files to process which you can pass as an input argument.

If my assumptions are right, publish the package to the orchestrator, create a process for the package.

Now you can run this process from n number of bots or triggers. Orchestrator will run an instance or copy of the process for each bot/trigger so you don’t have to worry about resources conflict.

Can we make orchestrator to choose different browsers for the parallel execution?

@Prabhakaran_Elango

Not with the same code, you will have to develop the code separately for the another browser or copy the code for that browser.

@Prabhakaran_Elango Create 2 work flow with same steps but both the work lows should be indicated with different browser. and in orchestrator change te entry point for each published process

You don’t need to duplicate the workflow.Use a queue-based “slot allocation” approach: create 3 credential assets (Slot1, Slot2, Slot3) and one asset that stores which slot is Free/Busy.When a job starts, read the slot-status asset, pick the first Free slot, mark it Busy, and load the matching credentials.Process the request, then mark the slot back to Free.This way, if two users trigger at the same time, each job automatically gets a free slot and the correct credentials, without conflicts.Hope it helps you to resolve the mentioned issue.

You do this on the credential asset, you specify it to have different values per robot user, and set up their respective assets based on the robot user they run it under.

They can then start from the assistant and it will grab the appropriate asset.

how to implement this can you guide me through this?