Exception handling 

Let's add an error handler so that we can catch any errors:

  1. Look up Error handler via the search bar and then drag and drop the Try action. We will add all of the automation logic to this Try block in the next few sections. 
  1. Before we do that, we'll add the Catch action below the Try one. In the Catch action's properties, set the Exception type to AllErrors.
  2. Create a String variable called errorMessage to store the error message:

  1. In the Catch block, also add a message box with the message Following error occurred $errorMessage$.
  2. Finally, click the Save button at the top to save the bot so that we can set up the credential locker.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.48.138