Uipath was not throwing any exception even though timeout exceeded

Hi All,
@Palaniyappan @Lahiru.Fernando
In my process certain stage SAP application was hanging, but in uipath it is not throwing any exception even though timeout exceeded.

Any one have idea , why UiPath is not throwing any exception even though timeout exceed.

Best Regards,
Naveen

@Naveen.Ch

  • Is process surrounded by Try/Catch block?
  • in SAP app related workflow -> pls check any while loop to check element exists/ onelementappear with loop true or a generic while loop actions exists?
  • pls recheck the job logs in Orchestrator (ifjob run via orchestrator).
1 Like

Hi @GBK

Thank you for the quick response.

Process was handled properly with try catch block. Inside try catch block, each activity we are keeping inside retry scope activity to ensure the specific activity executed or not.

as soon as clicking execute button in sap to generate sap report, sap was showing continuous loading state.

after click execute button, there was get text activity to check SAP message, robot/courser was not coming out of get text activity .

Note - for each activity we have given Timeout As 5 seconds.

Best regards,
Naveen

@loginerror @badita

I am facing above issue as well.
could you please let me know your thoughts .

Best regards,
Naveen Chaganti

How long does an item take to be processed? Can you add a 5 mins delay between GetTransactionItem and SetTransactionStatus and check what happens. Do you set the status to failed on catch?

Also you can log verbose in order to check the activities that are executed.

Please note that stop is different than kill.

Hi @badita

Thank you for your response.

Some process will take each transaction 5 minutes and some process will take 1 hour as well.

If I try to stop the process, it will try to complete current transaction then robot will stop the execution

If I use kill the process robot will stop immediately

Yes,we have added few logs robot was not throwing any exceptions even though timeout exceeded as well

Best Regards
Naveen

Correct. If you’re using “ShouldStop” Activity.

Very strange indeed. Please try to log as verbose for a test and check also the transaction history tab.

1 Like

Hi @badita

This issue related to exception was not throwing by uipath

Added few logs to debug before and after each activity, but due to sap application is showing continues loading state, Uipath was not throwing any exception even though timeout exceeded for specific activity

Best Regards,
Naveen

@ovi @Pablito @loginerror

Could you please provide your thoughts on this issue

Hi @Naveen.Ch,
At this stage it’s hard to figure out what’s going on without seeing the project. Based on what I see at the moment I think you have somewhere infinite loop in the process. What about debugging? Have you tried to do step-by-step and check where it stops?

2 Likes

Hi @Pablito

Thank you for your response.

We have executed step by step in debug as well .
we are not sure, if sap showing contentious loading state, why UiPath is not throwing any exception even though timeout exceed

Best Regards,
Naveen

Please check if in particular activities you don’t have ContinueOnError or WaitForReady attribute set.
image