"Matches" activity, Configure Regular Expression

Hi All,

I Use a for each file activity what is opening some XML files.
For each of them the bot is looking for thing like, name / place etc.etc.

In some situations there are no name in the XML file. The bot is crashing then like below.
Anyone can help me with this?

image

Hi @M_L,

You can use Try Catch activity here to handle this exception,
here’s one doc about this activity, so that it’ll be easy for you…

1 Like

Hi @M_L,

can you share a screenshot. you cannot parse null value to a object

Thank you, Try catch is working :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.