{
  "name": "Demo10",
  "description": "A demo showing skipIf and errorIf task properties in action.",
  "tasks":{
    "task 1": {
      "description": "I am the task 1, I echo Processus",
      "blocking": true,
      "handler": "../taskhandlers/execHandler",
      "parameters": {
        "cmd": "echo Processus",
        "skip me": true
      }
    },
    "task 2": {
      "description": "I am the task 2, I will be skipped",
      "blocking": true,
      "skipIf":"$[tasks.task 1.parameters.skip me]",
      "handler": "../taskhandlers/execHandler",
      "parameters": {
        "cmd": "echo Simple"
      }
    },
    "task 3": {
      "description": "I am the task 3, I will error",
      "blocking": true,
      "errorIf": "$[tasks.task 2.skipIf]",
      "handler": "../taskhandlers/execHandler",
      "parameters": {
        "cmd": "echo Workflow"
      }
    }
  }
}
