I’m trying to build app where data is fetched from user via UiPath apps and sent to bot synchronously ,all the bot output should be populated in forms post completion ..including error.
To achieve this I see two options start process and trigger process. I see start process just triggers and track only error which is asyc..I don’t see any process under trigger process though i have added process in apps.How can I achieve this ?
To make this work: Checklist
1.Ensure the Process is Published with Arguments
- In Studio, define your process with input and output arguments.
- Example:
in_Name, out_Result, out_ErrorMessage
- Publish it to Orchestrator.
- Expose the Process to UiPath Apps
- Go to Orchestrator → Packages → Processes
- Create a process from the published package
- Make sure it’s added to the environment and available to Apps
- Use Trigger Process in UiPath App
- In your App:
- Use the Trigger Process rule
- Map input arguments from form fields
- Capture output arguments to populate form fields or show errors
- Handle Errors Gracefully
- In your bot:
- Use
Try Catch blocks
- Set
out_ErrorMessage if an exception occurs
- In Apps:
- Display
out_ErrorMessage if present
Troubleshooting: Why You Don’t See the Process in Trigger Process
Here are common causes:
- Process lacks arguments - Trigger Process only shows processes with defined arguments
- Process not added to environment - Must be linked to the environment used by Apps
- Wrong folder or permissions - Ensure Apps and Orchestrator are in the same folder context and you have access
Happy Automation. Cheers