How to set the people state in a custom code the same way we set the default state profile?
In the model attached, for exemple, the activity "time in State_X" is a certain activity like wait in a pull from list.
In the graph below, I would like to see
- idle =3s
- State_X = 4s
- InTransit...
- State_Y = 5s
Thanks in advance