on 01-25-2022 12:20 PM
Hello,
In SAP IRPA there is any way to find our Global step is got success or error like if I run the bot if its is finish the function or work means it need to show success or else the function is not done means it need to show error Message. for that how can I add success and error function to that?
line number: 138 - 145
events.LOAD.on(function(ev){...................}); <== this function success or error part I want to get
thanks in Advance,
Narenthiran Annamalai.
Hi !
If you want to know if the content of the callback function has been successfully executed, you can surround the content by a try...catch.
If you want to know if the function itself has been triggered (the LOAD event has been triggered), I'll recommend you to use a boolean flag, set it to false, and make it true in the callback function. Then bellow the LOAD function, put a delay and some statements in case the boolean is still false.
Hope it helps you.
Best regards,
Baptiste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.