{
  "description": "Task Chain for DLM Profile Execution {{profileName}}",
  "taskList": {
    "1": {
      "inline": {
        "type": "START",
        "taskGroup": "com.sap.dwf.toe.executionControl"
      }
    },
    {{#each procedures}}
    "{{#add @index 2}}{{/add}}": {
      "inline": {
        "type": "executeProcedure",
        "taskGroup": "hanaNative",
        "description": "Execute Relocation Procedure",
        "parameterValues": [
          {
            "id": "procName",
            "value": "{{this.procName}}"
          },
          {
            "id": "procForm.PACKET_SIZE",
            "value": "{{this.packetSize}}"
          }
        ]
      },
      "preconditions": [
        {
          "from": "{{#add @index 1}}{{/add}}",
          "status": "{{#if @first}}NEUTRAL{{else}}OK{{/if}}"
        }
      ]
    }{{#addComma @last}}{{/addComma}}
    {{/each}}
  }
}