Packages

Domain specific language based on Google Cloud Workflows

Current section

Files

Jump to
workflow_dsl examples workflow5.json
Raw

examples/workflow5.json

[
{
"step1": {
"assign": [
{
"a": 1
}
]
}
},
{
"step2": {
"switch": [
{
"condition": "${a==1}",
"steps": [
{
"stepA": {
"assign": [
{
"a": "${a+7}"
}
]
}
},
{
"stepB": {
"return": "${\"increase a to:\"+string(a)}"
}
}
]
}
]
}
},
{
"step3": {
"return": "${\"default a=\"+string(a)}"
}
}
]