How to automatically stop process flow of an re-frame work at a specific point

Hello ,

Okay i have my Re Frame work working very fine. The user sends in some input from the orchestrator for the robot to start.
Now i have a boolean which says true or false this boolean is an input parameter in the orchestrator .
I have this boolean called at a particular workflow of the process in the REframe work and i want the process to be terminated at that point if this boolean is true.

Regards

Where in the ReFramework do you set this boolean?

I would pass this out as an argument in your workflows all the way up to state machine level and add another transition from which ever state to End Process if that boolean is true.