What is the fastest way to generate system error? I want to test the flow.
Also, I want to understand - so I have a variable called SysError with type as System.Exception
Does System.Exception means System Error??
In this State Machine, I have an init state transit to final state if system error occurs.
So in the transition, I put “SysError is not Nothing” in the condition. Is this correct?
And I wonder, does that mean when a system error occurs, that error will be stored in the SysError variable??? Is that an array or…? Is my variable type correct…?
Can you please share a good example of State Machine Error Handling template?
Also, In the Init state, for example, why we put the activities in the ENTRY box instead of the EXIT box? When are we putting things in the EXIT box?