REFramework states flow question

Hi,
I have a question about REFramework States.
I have a very similar 8 states.
Get Transaction goes to State1.
State1 on Success goes to State2 etc and State2 to State3 etc.
All of these on error go to Error Processing state.
Only the conditions for these states vary.
And the processing for the states varies.

I am wondering if there is a way of making this state a variable name, and the condition a variable.

Goal: Not to make the flow look too clutter. Any suggestions would be appreciated.

Thank you,

@A_Learner,

If you don’t want the states and want the states to be a variables then you should be using Flowchart.

State Machine on which REFramework is based is suitable for the system which has many states that change frequently or unpredictably based on inputs.

Thanks,
Ashok :slight_smile:

1 Like

@A_Learner

in the state transitions set a variable value with the state name you need or the state you are in

cheers

Let me try this, thank you @Anil_G

Then the transition condition needs to be a variable too.

1 Like