@wmfs/tymly
Version:
A framework for building and sharing workflows in Node.js
36 lines • 867 B
JSON
{
"Comment": "Test blueprint to set context data",
"version": "1.0",
"StartAt": "SetDefaults",
"States": {
"SetDefaults": {
"ResourceConfig": {
"$.formData.isThisNull": "$NULL",
"$.formData.catName": "Rupert",
"$.formData.dogName": "$.dog",
"$.formData.catOwnerId": "$USERID",
"$.formData.catBirthday": "$NOW",
"$.formData.email": "$EMAIL",
"$.formData.faveColours": "$.faveColours",
"$.formData.measurements": [
{
"height": "$.height",
"weight": "$.weight"
}
]
},
"Type": "Task",
"Resource": "module:setContextData",
"InputPath": "$",
"End": true
}
},
"restrictions": [
{
"roleId": "$authenticated",
"allows": [
"*"
]
}
]
}