Hi all
I am new to maestro.
I have an RPA workflow , which has two input arguments and which gives a Boolean out argument .
In the maestro I have invoked this workflow, based on the out argument I need to decide the next step.
I can see the input arguments I have created in the in maestro but not the output arguments.
In UiPath Studio: Open your RPA workflow and ensure the Boolean output argument is correctly defined with an Out direction.
In Maestro:
Add a Service Task: Include a Service Task element in your Maestro process and configure it to Start and wait for RPA Workflow (or similar, depending on the activity).
Select the RPA Workflow: Choose the RPA workflow you want to invoke.
Map Inputs (if applicable): Configure the input arguments for the RPA workflow as needed.
Map Outputs: In the Output section of the Service Task properties, add a new variable within Maestro (e.g., ProcessResult) and map the output Boolean argument from your RPA workflow to this Maestro variable.
Add an Exclusive Gateway: After the Service Task, add an Exclusive Gateway element to your Maestro process.
Define Conditional Flows:
Flow 1 (True): Create a flow from the Gateway to the next desired step. In the properties of this flow, set the Condition to vars.ProcessResult == True.
Flow 2 (False): Create another flow from the Gateway to a different step. Set the Condition for this flow to vars.ProcessResult == False.
Now, when your Maestro process executes the RPA workflow, the Boolean output will be stored in the ProcessResult variable, and the Gateway will use this variable’s value to decide the next step, allowing you to implement your desired conditional logic.
Please try these steps and let us know your outcome.
If this answers to your query kindly mark it as solution to close this case.
In the map output step , I am not able to fine the out argument . I have created the argument in the web studio as out direction . The arguments which are in direction I can see in the maestro
Here I have created the out argument in the web studio , then another one in maestro. But for mapping I am not able find the out argument when mapping @Tapas_Kumar_Pattnaik