Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"id": "myworkflow",
"name": "myworkflowname",
"version": "1.0",
"states": [
{
"name": "myswitchstate",
"type":"switch",
"start": {
"kind":"default"
},
"dataConditions": [
{
"condition": "{{$.abc}}",
"transition": {
"nextState": "ABC"
}
},
{
"condition": "{{$.xyz}}",
"end": {
"kind":"default"
}
}
],
"default":{
"end": {
"kind":"default"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment