I have created a workflow using REFramework. Process gets its input from an excel sheet in the initialization phase and passed on to process transaction phase one at a time.
Now, when I an testing the flow, it is taking longer as compared to previous transaction to process. For first transaction it took ~3 minutes which kept on increasing with every next transaction and handling time for 6th transaction was 10 minutes…
If you are storing any large amounts of data clear them fir each transaction …also please test from orchestrator it should be faster…generally on studio for debugging purposes it would be slower
Could you please help me a little further- how should I be clearing the data? I am not storing anything, whatever details I am capturing I am writing those to a datatable and then a workbook. Just to mention, as I mentioned the workbook update step, I thought it would be because of workbook being updated for each transaction and ran my workflow with update workbook activity removed after each transaction and still it is the same issue… Thanks again!!
I am not saying about orchestrator queue…try running bot from orchestrator …see the sifference in time for running in studio and orchestrator …mostly it would be wuicker and no deays
Hi @Pankaj_J
There could be several reasons for the increased processing time in your workflow. Here are some possible reasons and solutions:
Large Excel file: If your input Excel file is large and contains a lot of data, it could be taking longer to read and process each transaction. Try to optimize the size of the file or split it into smaller files if possible.
Unoptimized code: Check if there are any unnecessary loops, activities, or conditions in your code that could be slowing down the processing time. Try to optimize your code by removing unnecessary activities or reducing the number of iterations in your loops.
System resources: Your system resources, such as CPU and memory, could be affecting the performance of your workflow. Try closing any unnecessary applications or processes that may be using up system resources.
Network latency: If your workflow involves connecting to external systems or services, network latency could be a factor in the increased processing time. Check your network connectivity and try to optimize it if possible.
Debugging mode: If you are running your workflow in debug mode, this could be affecting the processing time. Try running the workflow in release mode to see if there is a difference in the processing time.
Error handling: If your workflow involves error handling, such as retries or exception handling, this could be adding to the processing time. Try to optimize your error handling by reducing the number of retries or simplifying your exception handling logic.
By identifying and addressing these potential issues, you can hopefully reduce the processing time of your workflow and improve its overall performance.