@wmfs/tymly
Version:
A framework for building and sharing workflows in Node.js
28 lines (27 loc) • 551 B
JSON
{
"StartAt": "Start",
"States": {
"Start": {
"Type": "Task",
"Resource": "module:launchStateMachine",
"ResourceConfig": {
"stateMachine": "tymlyTest_launchedSendsHeartbeatToParent"
},
"Next": "WaitForExternalPrompt"
},
"WaitForExternalPrompt": {
"Type": "Task",
"Resource": "module:awaitingExternalInput",
"ResultPath": "$.launchedResult",
"End": true
}
},
"restrictions": [
{
"roleId": "$authenticated",
"allows": [
"*"
]
}
]
}