Handling of SAP disconnect

I need a solution for when my robot is running on orch and SAP disconnects, the robot will sit there hanging whilst the VM has the “SAP disconnect” dialogue box up.

Come on Lev, let’s see what you got buddy. HAH!

@MattWW

Hello Matt,
you can try this to handle your requirement:

Use the Parallel Activity. On the one hand use the approach which I described here. On the other hand I use the Find Element Activity which searches for the dialog box.

image

Set the condition of the parallel activity to false.
If the text of the dialog box is found, the workflow will be terminated with an exception.
In my opinion is it necessary to set a timeout in the Find Element Actitivity.

This approach has not yet been fully thought out, for sure there will be variants.
Maybe you can report your experiences.

Best regards
Stefan