How retry DataTable Transaction in RE?

Hi Team,

In RE framework I am passing the DT, in process xaml,
I am processing the transaction and surround it by try catch
in catch i am throwing the system exception
But it goes to success in Set Transaction Status xaml

So suggest me how it will go for retry if system exception occure

Thanks in advance!!!

Hi @Sanket_Shinde1

In Process state of your reframework, do you see below assign, if not, please add the same. without it, there will be nothing assigned to the system exception variable at General business process level and hence no exception will be considered.

Hi @sonaliaggarwal47

This is already available

@Sanket_Shinde1

In that case, are you sure, that control is going to catch block and exception is being thrown?

can you put a log message inside catch block to check if it lands there?

I have design like this
IN process xaml- Invoke subflows

subflows surround by try catch - in catch throwing System Exception also- in try added retry scope for entire subflow process

@Sanket_Shinde1

That is fine, it should still be logged as exception in queue and not success like you said.

Can you please confirm if it’s actually going to catch and throwing exception?

I have added message bot after rethrow in catch

and While running i closed the application , but it not went to catch

@Sanket_Shinde1

Can you show the screenshot of your catch block?

Also log message should be fore throwing exception else it will never be logged.

Plus, could you please help me understand what kind of exception you are trying to catch here?

Looks like no exception is being generated here

Hi @Sanket_Shinde1

If you can find the time, I would suggest to take a look at the UiPath Academy course below.
This is focused on using the RE Framework without queues, and sounds like what you are doing.

Regards
Soren

1 Like