processus
Version:
A simple node workflow engine
35 lines (34 loc) • 889 B
JSON
{
"name": "Demo8a",
"description": "A demo showing a task raising an error being overriden by ignoreError property and its affect on the workflow.",
"tasks":{
"task 1": {
"description": "I am the task 1, I take 1500msecs.",
"blocking": true,
"handler" : "../taskhandlers/testHandler",
"parameters": {
"delay": 1500,
"error": false
}
},
"task 2": {
"description": "I am the task 2, I take 1000msecs.",
"blocking": true,
"handler" : "../taskhandlers/testHandler",
"parameters": {
"delay": 1000,
"error": true
},
"ignoreError": true
},
"task 3": {
"description": "I am the task 3, I take 1500msecs.",
"blocking": true,
"handler" : "../taskhandlers/testHandler",
"parameters": {
"delay": 1500,
"error": false
}
}
}
}