Error handling/excel logs

hello comrades!

I’m doing a project for my trainee where I have to make a bot that needs to do this actions:

Read List of series and movies from an Excel file. (The category distinguishes film from series)
For each series:
-Extract synopsis, number of estimates, overall rating, calculation of average estimates of numbers.
-Extract list of episodes from all seasons in which each episode needs to identify title, rating, data and episode number.
-Saving this information in a sheet is the following information about the series and the following sheets as lists of occurrences of each first season by season and within the first season ordered by rating.

  • Convert dates to format Ex: 21 January 2022

For each movie:

  • Extract Synopsis, year, duration, overall rating, number of estimates, popularity and premiere data for each film;
    -Store this information in an Excel where the movies are sorted by year and rating.
  • Save an Excel file in which for each movie it indicates whether it was possible to process the movie and if not, indicate the error that occurred.
    Email each year’s most popular movie and series with the best average episode rating.

This being said, I have already all the sequence, but now I need to handle the errors/logs such as:

  • a global file of errors to process whether it’s series or movies
    if the errors are in the individual processing of a series or film, it is necessary to record the error and move on to the next case. If the error is outside the processing of the series or movie or before reaching that part, it is necessary to send an email and finish the process.

I’M super stucked with this part. I have a serieFilter sequence with a loop and a movieFilter sequence, a sent mail sequence and a login one.

should I put a catch and try around the loop of filter and movie? and what about sending email with the error, in which sequence?

i’m very lost at this error hanlding part

Hello @mouthOfMadness!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly

1 Like