processus
Version:
A simple node workflow engine
26 lines (25 loc) • 772 B
JSON
{
"name": "Demo13a",
"description": "A demo showing requesting a workflow and executing it. A combination of demo 12 and 13.",
"tasks": {
"call github for demo1": {
"blocking": true,
"handler": "../taskhandlers/requestHandler",
"parameters": {
"options": {
"url": "https://raw.githubusercontent.com/cloudb2/processus/master/test/demo1.json",
"method": "GET",
"json": true
}
}
},
"Excute Workflow Response": {
"blocking": true,
"handler": "../taskhandlers/workflowHandler",
"parameters": {
"file": "$[tasks.call github for demo1.parameters.options.url]",
"workflow": "$[tasks.call github for demo1.parameters.response.body]"
}
}
}
}