I want to place the Try Catch action outside main.xaml instead of the "Sequence" activities. That helps me handle exceptions when running the process

I want to place the Try Catch action outside main.xaml instead of the “Sequence” activities. That helps me handle exceptions when running the process

Everything has to be in a Sequence. Just put the activities you want to catch errors for inside the Try Catch. It’s totally irrelevant that the Try Catch is also inside a Sequence.

In our project, Activities
“try catch” is the first part instead of Activities “Sequence”. I have to comply with that

That’s a silly and pointless requirement, especially since it’s not possible.

But it is a process that must happen. I’ve looked at 500 bots on my system and I see they all have to comply with that.I also don’t understand how they can do that

They can’t. It’s not possible. And it’s completely pointless, it would achieve nothing.

You can delete that top level Sequence and as soon as you drop in any other activity the Sequence is re-added. Maybe they just have this setting turned on:

The Sequence is still going to be there, you just won’t see it.

The Sequence is still going to be there, you just won’t see it.

Thank you very much. I will suggest changing the process according to your opinion

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