I’m fairly new to UiPath, and I’ve been struggling to find a solution to my issue.
I’m wondering how to initiate a process from Orchestrator within another process. Here’s my scenario: I have a Process A, and within it, I need to invoke Process B. Process B should start, and once it’s completed, I want Process A to continue from where it left off.
Any insights or guidance on how to achieve this would be greatly appreciated.
Use the above activity(Invoke Process) where In_ProcessName would be the process B name as mentioned in Orchestrator
If process B is deployed in a different folder than the process A mention the orchestrator folder path in the properties panel
Use this activity where you want the process B to start
As mentioned by @efelantti you can mention arguments for input.
For output you can store the output by creating an asset in the orchestrator and use set asset activity to provide with updated value then use get asset activity to retrieve the value to be used further.
Make sure that the asset is created in the orchestrator with appropriate data type.
Str_hello is the asset name and Str_val is the output value to be updated
You can store the value in a variable and use further
Thank you very much for the explanation. I have a little concern about relying on Orchestrator assets. It could be that process B is used by another process in the future. Could using assets possibly cause issues or conflicts if another process uses process B? Or is there a way to do this via an API call to the Orchestrator instead of using “Invoke Process”?
Thank you for this information. Just to confirm my understanding, are you saying that I can pass the output variables from the invoked process directly to the invoking process within the Invoke Process activity?