How does State Machine work?

workflow

#1

How does State Machine work? when it should be used and what are the benefits.
Please share if you have a working experience with using State Machine in Uipath. If you have a artifact which you can share as example, that will be good.

Regards,
Vijay


Difference between sequence flowchart statemachines
About State Machine transition(s)
State Machine
How to use REframework
State Machine help
Is it good to use REFramework when only need to login on any website and do some click and download the excel sheet?
#2

hi @vizblue_in,

It is has lot of options to be worked with.

  1. You can switch between multiple states in multiple times.
  2. Loop through itself.
  3. Can pass to other state after validating the condition given.
  4. You can use n number of final states.

refer this link for further info.State_Machine. Please find attached a basic flow.

test1.xaml (18.0 KB)

(conditions for the flow you can see in T1, T2, T3 and Please provide your email in State2 to receive email)

Thanks,
Vikas Reddy


How to handle this Error?
#3

HI @vizblue_in

State machine workflows provide a modeling style with which you can model your workflow in an event-driven manner. A StateMachine activity contains the states and transitions that make up the logic of the state machine, and can be used anywhere an activity can be used. There are several classes in the state machine runtime:

  • StateMachine
  • State
  • Transition

Please go through with following links for better understanding:

State Machine Workflows

How to: Create a State Machine Workflow

For example workflow, May be you can see @vikas_reddy_Vicky example.


How to handle this Error?
Multi-Robot Residency&Multi-tenant
#4

Sounds like you need to be using a State Machine. Please see the link below for more information

https://forum.uipath.com/t/how-does-state-machine-work/2333/2


#5

Is it possible to have transition somewhere outside the current flowchart?


#6

Hi

Please follow below tutorial,

Thanks,
Karthik


#7

Thanks.

Regards,

Vijay


#8

Please check this - https://studio.uipath.com/docs/state-machines


#9

Hi,
Please follow below tutorial


#10