How to handle SAP automation freeze and robot freeze

It’s pretty simple

In the sequence where you have activities for sap navigation use the below loop at the place where you face this issue

  1. Use a assign activity like this

counter = 0

Where counter is a int32 variable

  1. Then use a DO WHILE activity

  2. Inside the loop use a ELEMENT EXISTS activity and indicate the element in sap that you feel would come after the freeze time

  3. Get that output as bool_exists

  4. Now use another assign activity inside the loop like this
    counter = counter + 1

  5. Then use a delay activity inside the same loop like this
    00:00:05

Finally with the condition part of do while mention like this

counter < 50 AND NOT bool_Exists

If this condition doesn’t satisfies it will get out of loop which means freeze has gone and bot is ready to act on SAP

  1. If it goes beyond the counter then it goes to the next sequence in parallel activity

Cheers @anto.santhosh