What is purpose of using exit part in state uipath

once entry is completed it goes to trigger and then comes to exit part.

what actually exit part do?

please anybody help me out

Hi @brindhaS,

Please find the below link of state machine for the better understanding of entry exit and Transition.

Regards,
Mohanraj.S

thanks,I’ve seen it but it not shown purpose of EXIT part

i want to know when EXIT part will work

Hi @brindhaS,

What does the Exit part of a state do?
-An activity executed when exiting the state.When a transition to another state is confirmed,the activities in the Exit action are executed, even if the state transitions back to the same state.After the exit action completes, the activities in the transition’s action execute

Regards,
Mohanraj.S

2 Likes

Hi @brindhaS,

Any Additional information need on Exit Part, Please let me know.

Regards,
Mohanraj.S

Thanks! The state is set BEFORE the Exit part— I had logging in the Exit module with TryCatch, so it went to Success even when SystemError was set. :crazy_face: