Extreme workflow action transitions syntax

Hi,

I’m still testing your product and when I request a state of a service, I want to do an action if the state is running and an other action if it is stopped.
But I dont find anywhere how to fill the field “when” in the transition.
Can you help me to get this syntax?
The output of the previous action is :
{
“stdout”: “”,
“result”: “[{“State”: “Running”, “Name”: “Service x”}]”,
“stderr”: “”,
“exit_code”: 0
}
or of course may be “Stopped”

Thank you very much.

Are you writing an orquesta workflow? If so, you can find the information you need at our docs for the Task Transition Model. Please provide more context.