Sometimes if the process.xaml is large it can take some time…but 1 minute is a little high…try to include a log message before the invoke and as the first activity and see where is it actually taking time
the workflow contains a lot of activities or complex logic, it will take longer to execute.
If the workflow is interacting with slow applications, such as web applications or legacy systems, it will take longer to execute
Extensive logging or verbose output can slow down execution, especially if writing logs to external systems
To get them rectified
Look for activities that are taking a long time to execute or complex logic that can be simplified. Run in debug mode to understand that
There may be ways to optimize the workflow to make it execute faster. For example, you can try to reduce the number of activities in the workflow
Try with API calls to interact instead of Ui interaction
Reduce unnecessary logging and consider using log levels appropriately. Avoid verbose logging
If your process involves processing a large amount of data, such as reading and processing thousands of rows in Excel or working with extensive database queries, it can lead to longer execution times. Avoid direct reading of data from any files. Keep them in queues and transactions
There could be several reasons for this issue like :
If your workflow involves heavy computations, large data processing, or frequent interactions with external systems, it can slow down the execution.
If your automation deals with a large volume of data, such as reading or writing extensive Excel files or database operations, it can contribute to slower execution times.
While your hardware has 16GB of RAM, other resource constraints such as CPU usage, disk I/O, or network latency can affect the execution time. Monitor the resource utilization during execution to identify potential bottlenecks.
While your version (2020.10.0) is relatively recent, consider updating to the latest version of UiPath if available, as newer versions often come with performance improvements and bug fixes.
Excessive logging and debugging activities can also slow down the execution.
The problem is not the duration time of the process.xaml workflow itself but just the call of the workflow.
Time between last logging before calling the “invoke process workflow”-activity and first logging in the process.xaml workflow is round about 1 minute.
There are several reasons why a workflow might take longer than expected to execute, such as the complexity of the workflow, the number of activities used, and the amount of data being processed1.
use the Invoke Workflow File activity to call your Process.xaml file. This activity is execute a separate workflow file and can help reduce the time it takes to execute your workflow.