Okay @SRASHTI_PATIL
If you want to implement this follow the below steps,
- You have to create a variable in the Main xaml called SystemExceptionCount which is Int32 datatype and in default value give 0 in variables panel.
- Create arguments in the Process state and Set Transaction status xaml by In\out direction.
- In the Set Transaction xaml go to System exception sequence and drag and drop assign activity and give
- Assign → SystemExceptionCount = SystemExceptionCount+1
- Come to Main workflow there are many transitions which are connected between states. One of the state which is connected from Process transactions state to Initialization state. Open the Transition and modify the condition as below,
- Condition -> SystemException IsNot Nothing andalso SystemExceptionCount<2
- Drag new Transition from Process state to the End process and write the below condition,
- Condition -> SystemException IsNot Nothing andalso SystemExceptionCount > 0
That’s how you have to modify the flow to check the conditions.
Hope you understand!!