@wmfs/tymly
Version:
A framework for building and sharing workflows in Node.js
26 lines (25 loc) • 459 B
JSON
{
"Comment": "Find a cat by id.",
"StartAt": "FindingRupert",
"version": "1.0",
"States": {
"FindingRupert": {
"Type": "Task",
"InputPath": "$.catName",
"Resource": "module:findingById",
"ResourceConfig": {
"modelId": "cat"
},
"ResultPath": "$.catDocFromStorage",
"End": true
}
},
"restrictions": [
{
"roleId": "$authenticated",
"allows": [
"*"
]
}
]
}