export const sampleExecution = {
  ownerApp: "",
  createTime: 1648555003451,
  status: "FAILED",
  endTime: 1648585762718,
  workflowId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
  tasks: [
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        asyncComplete: false,
        http_request: {
          method: "GET",
          uri: "http://ip-api.com/json/ 49.37.209.163?fields=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,offset,isp,org,as,query",
        },
      },
      referenceTaskName: "get_IP_ref",
      retryCount: 0,
      seq: 1,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_IP",
      scheduledTime: 1648555003459,
      startTime: 1648555003591,
      endTime: 1648555003633,
      updateTime: 1648555003633,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "1ae10dc7-f391-48a7-8ab1-726a5c6b3752",
      callbackAfterSeconds: 0,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-dfhfx",
      outputData: {
        response: {
          headers: {
            Date: ["Tue, 29 Mar 2022 11:56:43 GMT"],
            "Content-Type": ["application/json; charset=utf-8"],
            "Content-Length": ["343"],
            "Access-Control-Allow-Origin": ["*"],
            "X-Ttl": ["60"],
            "X-Rl": ["44"],
          },
          reasonPhrase: "OK",
          body: {
            status: "success",
            country: "India",
            countryCode: "IN",
            region: "TN",
            regionName: "Tamil Nadu",
            city: "Chennai",
            zip: "600001",
            lat: 12.8996,
            lon: 80.2209,
            timezone: "Asia/Kolkata",
            offset: 19800,
            isp: "Reliance Jio Infocomm Limited",
            org: "Reliance Jio Infocomm Limited",
            as: "AS55836 Reliance Jio Infocomm Limited",
            query: "49.37.209.163",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "Get_IP",
        taskReferenceName: "get_IP_ref",
        inputParameters: {
          http_request: {
            uri: "http://ip-api.com/json/${workflow.input.ipaddress}?fields=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,offset,isp,org,as,query",
            method: "GET",
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667646103,
          createdBy: "",
          name: "Get_IP",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 3600,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        retryCount: 3,
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667646103,
        createdBy: "",
        name: "Get_IP",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 3600,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 132,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        asyncComplete: false,
        http_request: {
          method: "GET",
          readTimeOut: 2000,
          uri: "https://weatherdbi.herokuapp.com/data/weather/600001",
          connectionTimeOut: 2000,
        },
        zip_code: "600001",
      },
      referenceTaskName: "get_weather_ref",
      retryCount: 0,
      seq: 2,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_weather",
      scheduledTime: 1648555003635,
      startTime: 1648555003876,
      endTime: 1648555004023,
      updateTime: 1648555004025,
      startDelayInSeconds: 0,
      retried: true,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "33c64585-455f-49e9-81b7-d2996158e58c",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder:',
      callbackAfterSeconds: 0,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-cvvrh",
      outputData: {
        response:
          'java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
      },
      workflowTask: {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667682201,
        updateTime: 1646676973253,
        createdBy: "",
        updatedBy: "",
        name: "Get_weather",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 5,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 241,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        http_request: {
          method: "GET",
          readTimeOut: 2000,
          uri: "https://weatherdbi.herokuapp.com/data/weather/600001",
          connectionTimeOut: 2000,
        },
        asyncComplete: false,
        zip_code: "600001",
      },
      referenceTaskName: "get_weather_ref",
      retryCount: 1,
      seq: 3,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_weather",
      scheduledTime: 1648555004046,
      startTime: 1648555009163,
      endTime: 1648555009232,
      updateTime: 1648555004025,
      startDelayInSeconds: 5,
      retriedTaskId: "33c64585-455f-49e9-81b7-d2996158e58c",
      retried: true,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "8c3b1231-a208-41dd-8828-83b24bf2806a",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder:',
      callbackAfterSeconds: 5,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-sw8dn",
      outputData: {
        response:
          'java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
      },
      workflowTask: {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667682201,
        updateTime: 1646676973253,
        createdBy: "",
        updatedBy: "",
        name: "Get_weather",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 5,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 191671401,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        http_request: {
          method: "GET",
          readTimeOut: 2000,
          uri: "https://weatherdbi.herokuapp.com/data/weather/600001",
          connectionTimeOut: 2000,
        },
        asyncComplete: false,
        zip_code: "600001",
      },
      referenceTaskName: "get_weather_ref",
      retryCount: 2,
      seq: 4,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_weather",
      scheduledTime: 1648555009247,
      startTime: 1648555014285,
      endTime: 1648555014407,
      updateTime: 1648555004025,
      startDelayInSeconds: 5,
      retriedTaskId: "8c3b1231-a208-41dd-8828-83b24bf2806a",
      retried: true,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "3886076f-6b38-4ce5-a099-c648e07546f8",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder:',
      callbackAfterSeconds: 5,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-dfhfx",
      outputData: {
        response:
          'java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
      },
      workflowTask: {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667682201,
        updateTime: 1646676973253,
        createdBy: "",
        updatedBy: "",
        name: "Get_weather",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 5,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 191671402,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        http_request: {
          method: "GET",
          readTimeOut: 2000,
          uri: "https://weatherdbi.herokuapp.com/data/weather/600001",
          connectionTimeOut: 2000,
        },
        asyncComplete: false,
        zip_code: "600001",
      },
      referenceTaskName: "get_weather_ref",
      retryCount: 3,
      seq: 5,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_weather",
      scheduledTime: 1648555014423,
      startTime: 1648555019511,
      endTime: 1648555019608,
      updateTime: 1648555004025,
      startDelayInSeconds: 5,
      retriedTaskId: "3886076f-6b38-4ce5-a099-c648e07546f8",
      retried: true,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "e7fb9cff-2a8d-4cc8-9cfe-764138980f21",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder:',
      callbackAfterSeconds: 5,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-cvvrh",
      outputData: {
        response:
          'java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
      },
      workflowTask: {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667682201,
        updateTime: 1646676973253,
        createdBy: "",
        updatedBy: "",
        name: "Get_weather",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 5,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 191671402,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        http_request: {
          method: "GET",
          readTimeOut: 2000,
          uri: "https://weatherdbi.herokuapp.com/data/weather/600001",
          connectionTimeOut: 2000,
        },
        asyncComplete: false,
        zip_code: "600001",
      },
      referenceTaskName: "get_weather_ref",
      retryCount: 4,
      seq: 6,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_weather",
      scheduledTime: 1648576362044,
      startTime: 1648576362081,
      endTime: 1648576362213,
      updateTime: 1648576362039,
      startDelayInSeconds: 5,
      retriedTaskId: "e7fb9cff-2a8d-4cc8-9cfe-764138980f21",
      retried: true,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "95c468e5-259d-4f4a-a9da-d1f6d48153ef",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder:',
      callbackAfterSeconds: 0,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-sw8dn",
      outputData: {
        response:
          'java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
      },
      workflowTask: {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667682201,
        updateTime: 1646676973253,
        createdBy: "",
        updatedBy: "",
        name: "Get_weather",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 5,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 37,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        http_request: {
          method: "GET",
          readTimeOut: 2000,
          uri: "https://weatherdbi.herokuapp.com/data/weather/600001",
          connectionTimeOut: 2000,
        },
        asyncComplete: false,
        zip_code: "600001",
      },
      referenceTaskName: "get_weather_ref",
      retryCount: 5,
      seq: 7,
      correlationId: "",
      pollCount: 1,
      taskDefName: "Get_weather",
      scheduledTime: 1648585762469,
      startTime: 1648585762599,
      endTime: 1648585762712,
      updateTime: 1648585762466,
      startDelayInSeconds: 5,
      retriedTaskId: "95c468e5-259d-4f4a-a9da-d1f6d48153ef",
      retried: false,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "f5a7752d-f199-43f8-9758-6ec74540e6cb",
      workflowType: "Stack_overflow_sequential_http",
      taskId: "5c61b913-5883-4725-8d39-0edd3029cbaf",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder:',
      callbackAfterSeconds: 0,
      workerId: "orkes-conductor-deployment-8d6c9d4bf-dfhfx",
      outputData: {
        response:
          'java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
      },
      workflowTask: {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1646667682201,
        updateTime: 1646676973253,
        createdBy: "",
        updatedBy: "",
        name: "Get_weather",
        description:
          "Edit or extend this sample task. Set the task name to get started",
        retryCount: 3,
        timeoutSeconds: 5,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 130,
    },
  ],
  input: {
    ipaddress: " 49.37.209.163",
  },
  output: {
    zipcode: "600001",
    forecast: null,
  },
  correlationId: "",
  reasonForIncompletion:
    'Failed to invoke HTTP task due to: java.lang.Exception: 503 Service Unavailable: "<!DOCTYPE html><LF>\t<html><LF>\t  <head><LF>\t\t<meta name="viewport" content="width=device-width, initial-scale=1"><LF>\t\t<meta charset="utf-8"><LF>\t\t<title>Application Error</title><LF>\t\t<style media="screen"><LF>\t\t  html,body,iframe {<LF>\t\t\tmargin: 0;<LF>\t\t\tpadding: 0;<LF>\t\t  }<LF>\t\t  html,body {<LF>\t\t\theight: 100%;<LF>\t\t\toverflow: hidden;<LF>\t\t  }<LF>\t\t  iframe {<LF>\t\t\twidth: 100%;<LF>\t\t\theight: 100%;<LF>\t\t\tborder: 0;<LF>\t\t  }<LF>\t\t</style><LF>\t  </head><LF>\t  <body><LF>\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe><LF>\t  </body><LF>\t</html>"',
  taskToDomain: {},
  failedReferenceTaskNames: ["get_weather_ref"],
  workflowDefinition: {
    updateTime: 1647385959054,
    name: "Stack_overflow_sequential_http",
    description:
      "Answering https://stackoverflow.com/questions/71370237/java-design-pattern-orchestration-workflow",
    version: 1,
    tasks: [
      {
        name: "Get_IP",
        taskReferenceName: "get_IP_ref",
        inputParameters: {
          http_request: {
            uri: "http://ip-api.com/json/${workflow.input.ipaddress}?fields=status,message,country,countryCode,region,regionName,city,zip,lat,lon,timezone,offset,isp,org,as,query",
            method: "GET",
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667646103,
          createdBy: "",
          name: "Get_IP",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 3600,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        retryCount: 3,
      },
      {
        name: "Get_weather",
        taskReferenceName: "get_weather_ref",
        inputParameters: {
          zip_code: "${get_IP_ref.output.response.body.zip}",
          http_request: {
            uri: "https://weatherdbi.herokuapp.com/data/weather/${get_IP_ref.output.response.body.zip}",
            method: "GET",
            connectionTimeOut: 2000,
            readTimeOut: 2000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1646667682201,
          updateTime: 1646676973253,
          createdBy: "",
          updatedBy: "",
          name: "Get_weather",
          description:
            "Edit or extend this sample task. Set the task name to get started",
          retryCount: 3,
          timeoutSeconds: 5,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
    ],
    inputParameters: [],
    outputParameters: {
      zipcode: "${get_IP_ref.output.response.body.zip}",
      forecast:
        "${get_weather_ref.output.response.body.currentConditions.comment}",
    },
    schemaVersion: 2,
    restartable: true,
    workflowStatusListenerEnabled: false,
    ownerEmail: "example@email.com",
    timeoutPolicy: "ALERT_ONLY",
    timeoutSeconds: 0,
    failureWorkflow: "",
    variables: {},
    inputTemplate: {},
  },
  priority: 0,
  variables: {},
  lastRetriedTime: 1648585762439,
  startTime: 1648555003451,
  workflowName: "Stack_overflow_sequential_http",
  workflowVersion: 1,
};

export const sampleExecutionWithForkJoin = {
  ownerApp: "",
  createTime: 1654516799948,
  createdBy: "doug.sillars@orkes.io",
  status: "COMPLETED",
  endTime: 1654516826244,
  workflowId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
  tasks: [
    {
      taskType: "JSON_JQ_TRANSFORM",
      status: "COMPLETED",
      inputData: {
        input: [
          {
            numberOfWidgets: "12",
            name: "Bob McBobFace",
            street: "21 Bob Lane",
            city: "Bobville",
            state: "OR",
            zip: "53111",
          },
          {
            numberOfWidgets: "1",
            name: "BobBobBob BobraAnn",
            street: "1 Surf Street",
            city: "Kokomo",
            state: "FL",
            zip: "53111",
          },
        ],
        queryExpression: ".[] |length",
      },
      referenceTaskName: "jq_address_count_ref",
      retryCount: 0,
      seq: 1,
      pollCount: 0,
      taskDefName: "jq_address_count",
      scheduledTime: 1654516799963,
      startTime: 1654516799963,
      endTime: 1654516799970,
      updateTime: 1654516799970,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30df1405-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        result: 2,
        resultList: [2, 11],
      },
      workflowTask: {
        name: "jq_address_count",
        taskReferenceName: "jq_address_count_ref",
        inputParameters: {
          input: "${workflow.input.addressList}",
          queryExpression: ".[] |length",
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "JSON_JQ_TRANSFORM",
      status: "COMPLETED",
      inputData: {
        input: "{}",
        queryExpression:
          'reduce range(0,2) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
      },
      referenceTaskName: "jq_create_dynamictasks_ref",
      retryCount: 0,
      seq: 2,
      pollCount: 0,
      taskDefName: "jq_create_dynamictasks",
      scheduledTime: 1654516799990,
      startTime: 1654516799990,
      endTime: 1654516799998,
      updateTime: 1654516799998,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30e332b6-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        result: {
          input: "{}",
          queryExpression:
            'reduce range(0,2) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
          dynamicTasks: [
            {
              subWorkflowParam: {
                name: "Shipping_loop_workflow",
              },
              taskReferenceName: "shipping_loop_subworkflow_ref_0",
              type: "SUB_WORKFLOW",
            },
            {
              subWorkflowParam: {
                name: "Shipping_loop_workflow",
              },
              taskReferenceName: "shipping_loop_subworkflow_ref_1",
              type: "SUB_WORKFLOW",
            },
          ],
        },
        resultList: [
          {
            input: "{}",
            queryExpression:
              'reduce range(0,2) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
            dynamicTasks: [
              {
                subWorkflowParam: {
                  name: "Shipping_loop_workflow",
                },
                taskReferenceName: "shipping_loop_subworkflow_ref_0",
                type: "SUB_WORKFLOW",
              },
              {
                subWorkflowParam: {
                  name: "Shipping_loop_workflow",
                },
                taskReferenceName: "shipping_loop_subworkflow_ref_1",
                type: "SUB_WORKFLOW",
              },
            ],
          },
        ],
      },
      workflowTask: {
        name: "jq_create_dynamictasks",
        taskReferenceName: "jq_create_dynamictasks_ref",
        inputParameters: {
          input: "{}",
          queryExpression:
            'reduce range(0,${jq_address_count_ref.output.result}) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "JSON_JQ_TRANSFORM",
      status: "COMPLETED",
      inputData: {
        input: "{}",
        addresses: [
          {
            numberOfWidgets: "12",
            name: "Bob McBobFace",
            street: "21 Bob Lane",
            city: "Bobville",
            state: "OR",
            zip: "53111",
          },
          {
            numberOfWidgets: "1",
            name: "BobBobBob BobraAnn",
            street: "1 Surf Street",
            city: "Kokomo",
            state: "FL",
            zip: "53111",
          },
        ],
        taskList: {
          input: "{}",
          queryExpression:
            'reduce range(0,2) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
          dynamicTasks: [
            {
              subWorkflowParam: {
                name: "Shipping_loop_workflow",
              },
              taskReferenceName: "shipping_loop_subworkflow_ref_0",
              type: "SUB_WORKFLOW",
            },
            {
              subWorkflowParam: {
                name: "Shipping_loop_workflow",
              },
              taskReferenceName: "shipping_loop_subworkflow_ref_1",
              type: "SUB_WORKFLOW",
            },
          ],
        },
        queryExpression:
          'reduce range(0,2) as $f (.; .dynamicTasksInput."shipping_loop_subworkflow_ref_\\($f)" = .addresses[$f])',
      },
      referenceTaskName: "jq_create_dynamictasksParams_ref",
      retryCount: 0,
      seq: 3,
      pollCount: 0,
      taskDefName: "jq_create_dynamictaskParams",
      scheduledTime: 1654516800029,
      startTime: 1654516800029,
      endTime: 1654516800037,
      updateTime: 1654516800037,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30e92627-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        result: {
          input: "{}",
          addresses: [
            {
              numberOfWidgets: "12",
              name: "Bob McBobFace",
              street: "21 Bob Lane",
              city: "Bobville",
              state: "OR",
              zip: "53111",
            },
            {
              numberOfWidgets: "1",
              name: "BobBobBob BobraAnn",
              street: "1 Surf Street",
              city: "Kokomo",
              state: "FL",
              zip: "53111",
            },
          ],
          taskList: {
            input: "{}",
            queryExpression:
              'reduce range(0,2) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
            dynamicTasks: [
              {
                subWorkflowParam: {
                  name: "Shipping_loop_workflow",
                },
                taskReferenceName: "shipping_loop_subworkflow_ref_0",
                type: "SUB_WORKFLOW",
              },
              {
                subWorkflowParam: {
                  name: "Shipping_loop_workflow",
                },
                taskReferenceName: "shipping_loop_subworkflow_ref_1",
                type: "SUB_WORKFLOW",
              },
            ],
          },
          queryExpression:
            'reduce range(0,2) as $f (.; .dynamicTasksInput."shipping_loop_subworkflow_ref_\\($f)" = .addresses[$f])',
          dynamicTasksInput: {
            shipping_loop_subworkflow_ref_0: {
              numberOfWidgets: "12",
              name: "Bob McBobFace",
              street: "21 Bob Lane",
              city: "Bobville",
              state: "OR",
              zip: "53111",
            },
            shipping_loop_subworkflow_ref_1: {
              numberOfWidgets: "1",
              name: "BobBobBob BobraAnn",
              street: "1 Surf Street",
              city: "Kokomo",
              state: "FL",
              zip: "53111",
            },
          },
        },
        resultList: [
          {
            input: "{}",
            addresses: [
              {
                numberOfWidgets: "12",
                name: "Bob McBobFace",
                street: "21 Bob Lane",
                city: "Bobville",
                state: "OR",
                zip: "53111",
              },
              {
                numberOfWidgets: "1",
                name: "BobBobBob BobraAnn",
                street: "1 Surf Street",
                city: "Kokomo",
                state: "FL",
                zip: "53111",
              },
            ],
            taskList: {
              input: "{}",
              queryExpression:
                'reduce range(0,2) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
              dynamicTasks: [
                {
                  subWorkflowParam: {
                    name: "Shipping_loop_workflow",
                  },
                  taskReferenceName: "shipping_loop_subworkflow_ref_0",
                  type: "SUB_WORKFLOW",
                },
                {
                  subWorkflowParam: {
                    name: "Shipping_loop_workflow",
                  },
                  taskReferenceName: "shipping_loop_subworkflow_ref_1",
                  type: "SUB_WORKFLOW",
                },
              ],
            },
            queryExpression:
              'reduce range(0,2) as $f (.; .dynamicTasksInput."shipping_loop_subworkflow_ref_\\($f)" = .addresses[$f])',
            dynamicTasksInput: {
              shipping_loop_subworkflow_ref_0: {
                numberOfWidgets: "12",
                name: "Bob McBobFace",
                street: "21 Bob Lane",
                city: "Bobville",
                state: "OR",
                zip: "53111",
              },
              shipping_loop_subworkflow_ref_1: {
                numberOfWidgets: "1",
                name: "BobBobBob BobraAnn",
                street: "1 Surf Street",
                city: "Kokomo",
                state: "FL",
                zip: "53111",
              },
            },
          },
        ],
      },
      workflowTask: {
        name: "jq_create_dynamictaskParams",
        taskReferenceName: "jq_create_dynamictasksParams_ref",
        inputParameters: {
          input: "{}",
          addresses: "${workflow.input.addressList}",
          taskList: "${jq_create_dynamictasks_ref.output.result}",
          queryExpression:
            'reduce range(0,${jq_address_count_ref.output.result}) as $f (.; .dynamicTasksInput."shipping_loop_subworkflow_ref_\\($f)" = .addresses[$f])',
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "FORK",
      status: "COMPLETED",
      inputData: {
        forkedTaskDefs: [
          {
            taskReferenceName: "shipping_loop_subworkflow_ref_0",
            inputParameters: {},
            type: "SUB_WORKFLOW",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            subWorkflowParam: {
              name: "Shipping_loop_workflow",
            },
            joinOn: [],
            optional: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
          },
          {
            taskReferenceName: "shipping_loop_subworkflow_ref_1",
            inputParameters: {},
            type: "SUB_WORKFLOW",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            subWorkflowParam: {
              name: "Shipping_loop_workflow",
            },
            joinOn: [],
            optional: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
          },
        ],
        forkedTasks: [
          "shipping_loop_subworkflow_ref_0",
          "shipping_loop_subworkflow_ref_1",
        ],
      },
      referenceTaskName: "shipping_dynamic_fork_ref",
      retryCount: 0,
      seq: 4,
      pollCount: 0,
      taskDefName: "FORK",
      scheduledTime: 1654516800114,
      startTime: 1654516800114,
      endTime: 1654516800114,
      updateTime: 1654516800175,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30f5f768-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {},
      workflowTask: {
        name: "shipping_dynamic_fork",
        taskReferenceName: "shipping_dynamic_fork_ref",
        inputParameters: {
          dynamicTasks:
            "${jq_create_dynamictasks_ref.output.result.dynamicTasks}",
          dynamicTasksInput:
            "${jq_create_dynamictasksParams_ref.output.result.dynamicTasksInput}",
        },
        type: "FORK_JOIN_DYNAMIC",
        decisionCases: {},
        dynamicForkTasksParam: "dynamicTasks",
        dynamicForkTasksInputParamName: "dynamicTasksInput",
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "SUB_WORKFLOW",
      status: "COMPLETED",
      inputData: {
        zip: "53111",
        subWorkflowDefinition: null,
        workflowInput: {},
        city: "Bobville",
        subWorkflowTaskToDomain: null,
        street: "21 Bob Lane",
        subWorkflowName: "Shipping_loop_workflow",
        name: "Bob McBobFace",
        state: "OR",
        subWorkflowVersion: 1,
        numberOfWidgets: "12",
      },
      referenceTaskName: "shipping_loop_subworkflow_ref_0",
      retryCount: 0,
      seq: 5,
      pollCount: 1,
      taskDefName: "SUB_WORKFLOW",
      scheduledTime: 1654516800119,
      startTime: 1654516800623,
      endTime: 1654516813323,
      updateTime: 1654516800671,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30f64589-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        subWorkflowId: "31443e81-e590-11ec-99fe-ea3af9c7af2a",
        orderDetails: {
          1: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "81900100 68490647",
            },
          },
          2: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "75954032 76216878",
            },
          },
          3: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "52750497 19652062",
            },
          },
          4: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "72896512 69020693",
            },
          },
          5: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "61473582 94684741",
            },
          },
          6: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "49293897 64849148",
            },
          },
          7: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "72669959 93938409",
            },
          },
          8: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "39018420 85980274",
            },
          },
          9: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "8274183 9267380",
            },
          },
          10: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "1884788 19309914",
            },
          },
          11: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "29288059 71566372",
            },
          },
          12: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "44861411 88039618",
            },
          },
          iteration: 12,
        },
      },
      workflowTask: {
        taskReferenceName: "shipping_loop_subworkflow_ref_0",
        inputParameters: {},
        type: "SUB_WORKFLOW",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        subWorkflowParam: {
          name: "Shipping_loop_workflow",
        },
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subWorkflowId: "31443e81-e590-11ec-99fe-ea3af9c7af2a",
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 504,
    },
    {
      taskType: "SUB_WORKFLOW",
      status: "COMPLETED",
      inputData: {
        zip: "53111",
        subWorkflowDefinition: null,
        workflowInput: {},
        city: "Kokomo",
        subWorkflowTaskToDomain: null,
        street: "1 Surf Street",
        subWorkflowName: "Shipping_loop_workflow",
        name: "BobBobBob BobraAnn",
        state: "FL",
        subWorkflowVersion: 1,
        numberOfWidgets: "1",
      },
      referenceTaskName: "shipping_loop_subworkflow_ref_1",
      retryCount: 0,
      seq: 6,
      pollCount: 1,
      taskDefName: "SUB_WORKFLOW",
      scheduledTime: 1654516800133,
      startTime: 1654516800673,
      endTime: 1654516802428,
      updateTime: 1654516800720,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30f708da-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        subWorkflowId: "314bdfa4-e590-11ec-99fe-ea3af9c7af2a",
        orderDetails: {
          1: {
            widget_shipping: {
              fullAddress:
                "BobBobBob BobraAnn\n1 Surf Street\nKokomo, FL 53111",
              trackingNumber: "5500341 47648420",
            },
          },
          iteration: 1,
        },
      },
      workflowTask: {
        taskReferenceName: "shipping_loop_subworkflow_ref_1",
        inputParameters: {},
        type: "SUB_WORKFLOW",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        subWorkflowParam: {
          name: "Shipping_loop_workflow",
        },
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subWorkflowId: "314bdfa4-e590-11ec-99fe-ea3af9c7af2a",
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 540,
    },
    {
      taskType: "JOIN",
      status: "COMPLETED",
      inputData: {
        joinOn: [
          "shipping_loop_subworkflow_ref_0",
          "shipping_loop_subworkflow_ref_1",
        ],
      },
      referenceTaskName: "image_multiple_convert_resize_join_ref",
      retryCount: 0,
      seq: 7,
      pollCount: 0,
      taskDefName: "JOIN",
      scheduledTime: 1654516800133,
      startTime: 1654516800133,
      endTime: 1654516815698,
      updateTime: 1654516800202,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "30f92bbb-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        shipping_loop_subworkflow_ref_0: {
          subWorkflowId: "31443e81-e590-11ec-99fe-ea3af9c7af2a",
          orderDetails: {
            1: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "81900100 68490647",
              },
            },
            2: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "75954032 76216878",
              },
            },
            3: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "52750497 19652062",
              },
            },
            4: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "72896512 69020693",
              },
            },
            5: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "61473582 94684741",
              },
            },
            6: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "49293897 64849148",
              },
            },
            7: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "72669959 93938409",
              },
            },
            8: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "39018420 85980274",
              },
            },
            9: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "8274183 9267380",
              },
            },
            10: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "1884788 19309914",
              },
            },
            11: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "29288059 71566372",
              },
            },
            12: {
              widget_shipping: {
                fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                trackingNumber: "44861411 88039618",
              },
            },
            iteration: 12,
          },
        },
        shipping_loop_subworkflow_ref_1: {
          subWorkflowId: "314bdfa4-e590-11ec-99fe-ea3af9c7af2a",
          orderDetails: {
            1: {
              widget_shipping: {
                fullAddress:
                  "BobBobBob BobraAnn\n1 Surf Street\nKokomo, FL 53111",
                trackingNumber: "5500341 47648420",
              },
            },
            iteration: 1,
          },
        },
      },
      workflowTask: {
        name: "shipping_multiple_addresses_join",
        taskReferenceName: "image_multiple_convert_resize_join_ref",
        inputParameters: {},
        type: "JOIN",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "JSON_JQ_TRANSFORM",
      status: "COMPLETED",
      inputData: {
        input: [
          {
            numberOfWidgets: "12",
            name: "Bob McBobFace",
            street: "21 Bob Lane",
            city: "Bobville",
            state: "OR",
            zip: "53111",
          },
          {
            numberOfWidgets: "1",
            name: "BobBobBob BobraAnn",
            street: "1 Surf Street",
            city: "Kokomo",
            state: "FL",
            zip: "53111",
          },
        ],
        queryExpression: "[.input[].numberOfWidgets | tonumber ] | add",
      },
      referenceTaskName: "jq_sum_widgets_ref",
      retryCount: 0,
      seq: 8,
      pollCount: 0,
      taskDefName: "jq_sum_widgets",
      scheduledTime: 1654516815724,
      startTime: 1654516815724,
      endTime: 1654516815736,
      updateTime: 1654516815736,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "3a440421-e590-11ec-8ff3-3e1f34859ffe",
      callbackAfterSeconds: 0,
      outputData: {
        result: 13,
        resultList: [13],
      },
      workflowTask: {
        name: "jq_sum_widgets",
        taskReferenceName: "jq_sum_widgets_ref",
        inputParameters: {
          input: "${workflow.input.addressList}",
          queryExpression: "[.input[].numberOfWidgets | tonumber ] | add",
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "FAILED",
      inputData: {
        asyncComplete: false,
        http_request: {
          method: "POST",
          readTimeOut: 5000,
          body: {
            item: "widget",
            count: 13,
          },
          uri: "http://restfuldemo.herokuapp.com/appendorder",
          connectionTimeOut: 5000,
        },
      },
      referenceTaskName: "reorder_widgets_ref",
      retryCount: 0,
      seq: 9,
      pollCount: 1,
      taskDefName: "reorder_widgets",
      scheduledTime: 1654516815761,
      startTime: 1654516815873,
      endTime: 1654516820969,
      updateTime: 1654516820970,
      startDelayInSeconds: 0,
      retried: true,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "3a49d082-e590-11ec-8ff3-3e1f34859ffe",
      reasonForIncompletion:
        'Failed to invoke HTTP task due to: java.lang.Exception: I/O error on POST request for "http://restfuldemo.herokuapp.com/appendorder": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out',
      callbackAfterSeconds: 0,
      workerId: "orkes-conductor-deployment-6644848475-7rv6z",
      outputData: {
        response:
          'java.lang.Exception: I/O error on POST request for "http://restfuldemo.herokuapp.com/appendorder": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out',
      },
      workflowTask: {
        name: "reorder_widgets",
        taskReferenceName: "reorder_widgets_ref",
        inputParameters: {
          http_request: {
            uri: "http://restfuldemo.herokuapp.com/appendorder",
            method: "POST",
            body: {
              item: "widget",
              count: "${jq_sum_widgets_ref.output.result}",
            },
            connectionTimeOut: 5000,
            readTimeOut: 5000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1649342184551,
          updateTime: 1649342255822,
          createdBy: "",
          updatedBy: "",
          name: "reorder_widgets",
          description:
            "extending the reorder task to have 3 retries and fixed delay",
          retryCount: 3,
          timeoutSeconds: 10,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          ownerEmail: "doug.sillars@orkes.io",
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        retryCount: 3,
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1649342184551,
        updateTime: 1649342255822,
        createdBy: "",
        updatedBy: "",
        name: "reorder_widgets",
        description:
          "extending the reorder task to have 3 retries and fixed delay",
        retryCount: 3,
        timeoutSeconds: 10,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        ownerEmail: "doug.sillars@orkes.io",
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 112,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        asyncComplete: false,
        http_request: {
          method: "POST",
          readTimeOut: 5000,
          body: {
            item: "widget",
            count: 13,
          },
          uri: "http://restfuldemo.herokuapp.com/appendorder",
          connectionTimeOut: 5000,
        },
      },
      referenceTaskName: "reorder_widgets_ref",
      retryCount: 1,
      seq: 10,
      pollCount: 1,
      taskDefName: "reorder_widgets",
      scheduledTime: 1654516820980,
      startTime: 1654516826123,
      endTime: 1654516826164,
      updateTime: 1654516820970,
      startDelayInSeconds: 5,
      retriedTaskId: "3a49d082-e590-11ec-8ff3-3e1f34859ffe",
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "3d66047f-e590-11ec-8bc1-168cc4bae9cf",
      callbackAfterSeconds: 5,
      workerId: "orkes-conductor-deployment-6644848475-5k9vm",
      outputData: {
        response: {
          headers: {
            Server: ["Cowboy"],
            Connection: ["keep-alive"],
            "X-Powered-By": ["Express"],
            "Content-Type": ["text/html; charset=utf-8"],
            "Content-Length": ["41"],
            Etag: ['W/"29-H58QMsCQTuEnY84zyDHEtcQuZTs"'],
            Date: ["Mon, 06 Jun 2022 12:00:26 GMT"],
            Via: ["1.1 vegur"],
          },
          reasonPhrase: "OK",
          body: "Success!13 widget(s) added to your order.",
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "reorder_widgets",
        taskReferenceName: "reorder_widgets_ref",
        inputParameters: {
          http_request: {
            uri: "http://restfuldemo.herokuapp.com/appendorder",
            method: "POST",
            body: {
              item: "widget",
              count: "${jq_sum_widgets_ref.output.result}",
            },
            connectionTimeOut: 5000,
            readTimeOut: 5000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1649342184551,
          updateTime: 1649342255822,
          createdBy: "",
          updatedBy: "",
          name: "reorder_widgets",
          description:
            "extending the reorder task to have 3 retries and fixed delay",
          retryCount: 3,
          timeoutSeconds: 10,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          ownerEmail: "doug.sillars@orkes.io",
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        retryCount: 3,
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: {
        createTime: 1649342184551,
        updateTime: 1649342255822,
        createdBy: "",
        updatedBy: "",
        name: "reorder_widgets",
        description:
          "extending the reorder task to have 3 retries and fixed delay",
        retryCount: 3,
        timeoutSeconds: 10,
        inputKeys: [],
        outputKeys: [],
        timeoutPolicy: "TIME_OUT_WF",
        retryLogic: "FIXED",
        retryDelaySeconds: 5,
        responseTimeoutSeconds: 5,
        inputTemplate: {},
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        ownerEmail: "doug.sillars@orkes.io",
        backoffScaleFactor: 1,
      },
      loopOverTask: false,
      queueWaitTime: 39933090,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        case: "Success!13 widget(s) added to your order.",
      },
      referenceTaskName: "switch_task",
      retryCount: 0,
      seq: 11,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1654516826196,
      startTime: 1654516826196,
      endTime: 1654516826212,
      updateTime: 1654516826205,
      startDelayInSeconds: 0,
      retried: false,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "408211ba-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["Success!13 widget(s) added to your order."],
      },
      workflowTask: {
        name: "order_checking",
        taskReferenceName: "switch_task",
        inputParameters: {
          switchCaseValue: "${reorder_widgets_ref.output.response.body}",
        },
        type: "SWITCH",
        decisionCases: {
          "Order failed.": [
            {
              name: "terminate_fail",
              taskReferenceName: "terminate_fail",
              inputParameters: {
                terminationStatus: "FAILED",
                workflowOutput: {
                  orderDetails:
                    "${image_multiple_convert_resize_join_ref.output}",
                  reorder: "${reorder_widgets_ref.output.response.body}",
                },
              },
              type: "TERMINATE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
            },
          ],
        },
        defaultCase: [
          {
            name: "terminate_success",
            taskReferenceName: "terminate_success",
            inputParameters: {
              terminationStatus: "COMPLETED",
              workflowOutput: {
                orderDetails:
                  "${image_multiple_convert_resize_join_ref.output}",
                reorder: "${reorder_widgets_ref.output.response.body}",
              },
            },
            type: "TERMINATE",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "value-param",
        expression: "switchCaseValue",
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
    {
      taskType: "TERMINATE",
      status: "COMPLETED",
      inputData: {
        terminationStatus: "COMPLETED",
        workflowOutput: {
          orderDetails: {
            shipping_loop_subworkflow_ref_0: {
              subWorkflowId: "31443e81-e590-11ec-99fe-ea3af9c7af2a",
              orderDetails: {
                1: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "81900100 68490647",
                  },
                },
                2: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "75954032 76216878",
                  },
                },
                3: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "52750497 19652062",
                  },
                },
                4: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "72896512 69020693",
                  },
                },
                5: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "61473582 94684741",
                  },
                },
                6: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "49293897 64849148",
                  },
                },
                7: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "72669959 93938409",
                  },
                },
                8: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "39018420 85980274",
                  },
                },
                9: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "8274183 9267380",
                  },
                },
                10: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "1884788 19309914",
                  },
                },
                11: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "29288059 71566372",
                  },
                },
                12: {
                  widget_shipping: {
                    fullAddress:
                      "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                    trackingNumber: "44861411 88039618",
                  },
                },
                iteration: 12,
              },
            },
            shipping_loop_subworkflow_ref_1: {
              subWorkflowId: "314bdfa4-e590-11ec-99fe-ea3af9c7af2a",
              orderDetails: {
                1: {
                  widget_shipping: {
                    fullAddress:
                      "BobBobBob BobraAnn\n1 Surf Street\nKokomo, FL 53111",
                    trackingNumber: "5500341 47648420",
                  },
                },
                iteration: 1,
              },
            },
          },
          reorder: "Success!13 widget(s) added to your order.",
        },
      },
      referenceTaskName: "terminate_success",
      retryCount: 0,
      seq: 12,
      pollCount: 0,
      taskDefName: "terminate_success",
      scheduledTime: 1654516826196,
      startTime: 1654516826196,
      endTime: 1654516826215,
      updateTime: 1654516826207,
      startDelayInSeconds: 0,
      retried: false,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "30dcf124-e590-11ec-99fe-ea3af9c7af2a",
      workflowType: "Bobs_widget_fulfillment",
      taskId: "408211bb-e590-11ec-99fe-ea3af9c7af2a",
      callbackAfterSeconds: 0,
      outputData: {
        orderDetails: {
          shipping_loop_subworkflow_ref_0: {
            subWorkflowId: "31443e81-e590-11ec-99fe-ea3af9c7af2a",
            orderDetails: {
              1: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "81900100 68490647",
                },
              },
              2: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "75954032 76216878",
                },
              },
              3: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "52750497 19652062",
                },
              },
              4: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "72896512 69020693",
                },
              },
              5: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "61473582 94684741",
                },
              },
              6: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "49293897 64849148",
                },
              },
              7: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "72669959 93938409",
                },
              },
              8: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "39018420 85980274",
                },
              },
              9: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "8274183 9267380",
                },
              },
              10: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "1884788 19309914",
                },
              },
              11: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "29288059 71566372",
                },
              },
              12: {
                widget_shipping: {
                  fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
                  trackingNumber: "44861411 88039618",
                },
              },
              iteration: 12,
            },
          },
          shipping_loop_subworkflow_ref_1: {
            subWorkflowId: "314bdfa4-e590-11ec-99fe-ea3af9c7af2a",
            orderDetails: {
              1: {
                widget_shipping: {
                  fullAddress:
                    "BobBobBob BobraAnn\n1 Surf Street\nKokomo, FL 53111",
                  trackingNumber: "5500341 47648420",
                },
              },
              iteration: 1,
            },
          },
        },
        reorder: "Success!13 widget(s) added to your order.",
      },
      workflowTask: {
        name: "terminate_success",
        taskReferenceName: "terminate_success",
        inputParameters: {
          terminationStatus: "COMPLETED",
          workflowOutput: {
            orderDetails: "${image_multiple_convert_resize_join_ref.output}",
            reorder: "${reorder_widgets_ref.output.response.body}",
          },
        },
        type: "TERMINATE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      taskDefinition: null,
      loopOverTask: false,
      queueWaitTime: 0,
    },
  ],
  input: {
    _executedTime: 1654516799940,
    _executionId: "42535504-8723-40cd-8303-05cbbecc3dd7",
    _scheduledTime: 1654516800000,
    addressList: [
      {
        numberOfWidgets: "12",
        name: "Bob McBobFace",
        street: "21 Bob Lane",
        city: "Bobville",
        state: "OR",
        zip: "53111",
      },
      {
        numberOfWidgets: "1",
        name: "BobBobBob BobraAnn",
        street: "1 Surf Street",
        city: "Kokomo",
        state: "FL",
        zip: "53111",
      },
    ],
    _startedByScheduler: "doug_test",
  },
  output: {
    orderDetails: {
      shipping_loop_subworkflow_ref_0: {
        subWorkflowId: "31443e81-e590-11ec-99fe-ea3af9c7af2a",
        orderDetails: {
          1: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "81900100 68490647",
            },
          },
          2: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "75954032 76216878",
            },
          },
          3: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "52750497 19652062",
            },
          },
          4: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "72896512 69020693",
            },
          },
          5: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "61473582 94684741",
            },
          },
          6: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "49293897 64849148",
            },
          },
          7: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "72669959 93938409",
            },
          },
          8: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "39018420 85980274",
            },
          },
          9: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "8274183 9267380",
            },
          },
          10: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "1884788 19309914",
            },
          },
          11: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "29288059 71566372",
            },
          },
          12: {
            widget_shipping: {
              fullAddress: "Bob McBobFace\n21 Bob Lane\nBobville, OR 53111",
              trackingNumber: "44861411 88039618",
            },
          },
          iteration: 12,
        },
      },
      shipping_loop_subworkflow_ref_1: {
        subWorkflowId: "314bdfa4-e590-11ec-99fe-ea3af9c7af2a",
        orderDetails: {
          1: {
            widget_shipping: {
              fullAddress:
                "BobBobBob BobraAnn\n1 Surf Street\nKokomo, FL 53111",
              trackingNumber: "5500341 47648420",
            },
          },
          iteration: 1,
        },
      },
    },
    reorder: "Success!13 widget(s) added to your order.",
  },
  reasonForIncompletion:
    "Workflow is COMPLETED by TERMINATE task: 408211bb-e590-11ec-99fe-ea3af9c7af2a",
  taskToDomain: {},
  failedReferenceTaskNames: ["reorder_widgets_ref"],
  workflowDefinition: {
    updateTime: 1649167373457,
    name: "Bobs_widget_fulfillment",
    description: "Shipping widgets right from Bob",
    version: 4,
    tasks: [
      {
        name: "jq_address_count",
        taskReferenceName: "jq_address_count_ref",
        inputParameters: {
          input: "${workflow.input.addressList}",
          queryExpression: ".[] |length",
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "jq_create_dynamictasks",
        taskReferenceName: "jq_create_dynamictasks_ref",
        inputParameters: {
          input: "{}",
          queryExpression:
            'reduce range(0,${jq_address_count_ref.output.result}) as $f (.;  .dynamicTasks[$f].subWorkflowParam.name = "Shipping_loop_workflow" | .dynamicTasks[$f].taskReferenceName = "shipping_loop_subworkflow_ref_\\($f)" | .dynamicTasks[$f].type = "SUB_WORKFLOW")',
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "jq_create_dynamictaskParams",
        taskReferenceName: "jq_create_dynamictasksParams_ref",
        inputParameters: {
          input: "{}",
          addresses: "${workflow.input.addressList}",
          taskList: "${jq_create_dynamictasks_ref.output.result}",
          queryExpression:
            'reduce range(0,${jq_address_count_ref.output.result}) as $f (.; .dynamicTasksInput."shipping_loop_subworkflow_ref_\\($f)" = .addresses[$f])',
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "shipping_dynamic_fork",
        taskReferenceName: "shipping_dynamic_fork_ref",
        inputParameters: {
          dynamicTasks:
            "${jq_create_dynamictasks_ref.output.result.dynamicTasks}",
          dynamicTasksInput:
            "${jq_create_dynamictasksParams_ref.output.result.dynamicTasksInput}",
        },
        type: "FORK_JOIN_DYNAMIC",
        decisionCases: {},
        dynamicForkTasksParam: "dynamicTasks",
        dynamicForkTasksInputParamName: "dynamicTasksInput",
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "shipping_multiple_addresses_join",
        taskReferenceName: "image_multiple_convert_resize_join_ref",
        inputParameters: {},
        type: "JOIN",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "jq_sum_widgets",
        taskReferenceName: "jq_sum_widgets_ref",
        inputParameters: {
          input: "${workflow.input.addressList}",
          queryExpression: "[.input[].numberOfWidgets | tonumber ] | add",
        },
        type: "JSON_JQ_TRANSFORM",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "reorder_widgets",
        taskReferenceName: "reorder_widgets_ref",
        inputParameters: {
          http_request: {
            uri: "http://restfuldemo.herokuapp.com/appendorder",
            method: "POST",
            body: {
              item: "widget",
              count: "${jq_sum_widgets_ref.output.result}",
            },
            connectionTimeOut: 5000,
            readTimeOut: 5000,
          },
          asyncComplete: false,
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        taskDefinition: {
          createTime: 1649342184551,
          updateTime: 1649342255822,
          createdBy: "",
          updatedBy: "",
          name: "reorder_widgets",
          description:
            "extending the reorder task to have 3 retries and fixed delay",
          retryCount: 3,
          timeoutSeconds: 10,
          inputKeys: [],
          outputKeys: [],
          timeoutPolicy: "TIME_OUT_WF",
          retryLogic: "FIXED",
          retryDelaySeconds: 5,
          responseTimeoutSeconds: 5,
          inputTemplate: {},
          rateLimitPerFrequency: 0,
          rateLimitFrequencyInSeconds: 1,
          ownerEmail: "doug.sillars@orkes.io",
          backoffScaleFactor: 1,
        },
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        retryCount: 3,
      },
      {
        name: "order_checking",
        taskReferenceName: "switch_task",
        inputParameters: {
          switchCaseValue: "${reorder_widgets_ref.output.response.body}",
        },
        type: "SWITCH",
        decisionCases: {
          "Order failed.": [
            {
              name: "terminate_fail",
              taskReferenceName: "terminate_fail",
              inputParameters: {
                terminationStatus: "FAILED",
                workflowOutput: {
                  orderDetails:
                    "${image_multiple_convert_resize_join_ref.output}",
                  reorder: "${reorder_widgets_ref.output.response.body}",
                },
              },
              type: "TERMINATE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
            },
          ],
        },
        defaultCase: [
          {
            name: "terminate_success",
            taskReferenceName: "terminate_success",
            inputParameters: {
              terminationStatus: "COMPLETED",
              workflowOutput: {
                orderDetails:
                  "${image_multiple_convert_resize_join_ref.output}",
                reorder: "${reorder_widgets_ref.output.response.body}",
              },
            },
            type: "TERMINATE",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "value-param",
        expression: "switchCaseValue",
      },
    ],
    inputParameters: [],
    outputParameters: {
      orderDetails: "${image_multiple_convert_resize_join_ref.output}",
      reorder: "${reorder_widgets_ref.output.response.body}",
    },
    failureWorkflow: "shipping_failure",
    schemaVersion: 2,
    restartable: true,
    workflowStatusListenerEnabled: false,
    ownerEmail: "bob@bobswidgets.com",
    timeoutPolicy: "ALERT_ONLY",
    timeoutSeconds: 0,
    failureWorkflow: "",
    variables: {},
    inputTemplate: {},
  },
  priority: 0,
  variables: {},
  lastRetriedTime: 0,
  workflowName: "Bobs_widget_fulfillment",
  workflowVersion: 4,
  startTime: 1654516799948,
};

export const sampleWithDynamicFork = {
  createTime: 1658878164317,
  createdBy: "reumontf@gmail.com",
  updatedBy: "",
  status: "COMPLETED",
  endTime: 1658878165230,
  workflowId: "c89a41a7-0d3a-11ed-8160-da9da95e170f",
  parentWorkflowId: "",
  parentWorkflowTaskId: "",
  tasks: [
    /*   { */
    /*   taskType: "TASK_SUMMARY", */
    /*   status: "COMPLETED", */
    /*   referenceTaskName: "fork_ref", */
    /*   retryCount: 0, */
    /*   seq: 1, */
    /*   pollCount: 0, */
    /*   taskDefName: "FORK", */
    /*   scheduledTime: 1658878164323, */
    /*   startTime: 1658878164323, */
    /*   endTime: 1658878164323, */
    /*   updateTime: 1658878164328, */
    /*   startDelayInSeconds: 0, */
    /*   retried: false, */
    /*   executed: true, */
    /*   callbackFromWorker: true, */
    /*   responseTimeoutSeconds: 0, */
    /*   workflowInstanceId: "c89a41a7-0d3a-11ed-8160-da9da95e170f", */
    /*   workflowType: "dynamic_fork", */
    /*   taskId: "c89b04f8-0d3a-11ed-8160-da9da95e170f", */
    /*   callbackAfterSeconds: 0, */
    /*   outputData: { */
    /*     summary:{ */
    /*         totalTasks:2000, */
    /*         taskCountByStatus:{ */
    /*             IN_PROGRESS:29800, */
    /*             COMPLETED:15000, */
    /*             SCHEDULED:2000, */
    /*             FAILED:20 */
    /*         } */
    /*     } */
    /*   }, */
    /*   workflowTask: { */
    /*     name: "fork", */
    /*     taskReferenceName: "fork_ref", */
    /*     inputParameters: { */
    /*       dynamicTasks: "${workflow.input.dynamicTasks}", */
    /*       dynamicTasksInput: "${workflow.input.dynamicTasksInputs}", */
    /*     }, */
    /*     type: "FORK_JOIN_DYNAMIC", */
    /*     decisionCases: {}, */
    /*     dynamicForkTasksParam: "dynamicTasks", */
    /*     dynamicForkTasksInputParamName: "dynamicTasksInput", */
    /*     defaultCase: [], */
    /*     forkTasks: [], */
    /*     startDelay: 0, */
    /*     joinOn: [], */
    /*     optional: false, */
    /*     defaultExclusiveJoinTask: [], */
    /*     asyncComplete: false, */
    /*     loopOver: [], */
    /*   }, */
    /*   rateLimitPerFrequency: 0, */
    /*   rateLimitFrequencyInSeconds: 0, */
    /*   workflowPriority: 0, */
    /*   iteration: 0, */
    /*   subworkflowChanged: false, */
    /*   queueWaitTime: 0, */
    /*   loopOverTask: false, */
    /*   taskDefinition: null, */
    /* }, */

    {
      taskType: "FORK",
      status: "COMPLETED",
      inputData: {
        forkedTaskDefs: [
          {
            asyncComplete: false,
            joinOn: [],
            optional: false,
            type: "HTTP",
            inputParameters: {
              asyncComplete: false,
              http_request: {
                method: "GET",
                readTimeOut: 3000,
                uri: "https://catfact.ninja/fact",
                connectionTimeOut: 3000,
              },
            },
            decisionCases: {},
            loopOver: [],
            name: "get_random_fact",
            startDelay: 0,
            defaultExclusiveJoinTask: [],
            taskReferenceName: "get_random_fact_0",
            defaultCase: [],
            forkTasks: [],
          },
          {
            asyncComplete: false,
            joinOn: [],
            optional: false,
            type: "HTTP",
            inputParameters: {
              asyncComplete: false,
              http_request: {
                method: "GET",
                readTimeOut: 3000,
                uri: "https://catfact.ninja/fact",
                connectionTimeOut: 3000,
              },
            },
            decisionCases: {},
            loopOver: [],
            name: "get_random_fact",
            startDelay: 0,
            defaultExclusiveJoinTask: [],
            taskReferenceName: "get_random_fact_1",
            defaultCase: [],
            forkTasks: [],
          },
        ],
        forkedTasks: ["get_random_fact_0", "get_random_fact_1"],
      },
      referenceTaskName: "fork_ref",
      retryCount: 0,
      seq: 1,
      pollCount: 0,
      taskDefName: "FORK",
      scheduledTime: 1658878164323,
      startTime: 1658878164323,
      endTime: 1658878164323,
      updateTime: 1658878164328,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "c89a41a7-0d3a-11ed-8160-da9da95e170f",
      workflowType: "dynamic_fork",
      taskId: "c89b04f8-0d3a-11ed-8160-da9da95e170f",
      callbackAfterSeconds: 0,
      outputData: {},
      workflowTask: {
        name: "fork",
        taskReferenceName: "fork_ref",
        inputParameters: {
          dynamicTasks: "${workflow.input.dynamicTasks}",
          dynamicTasksInput: "${workflow.input.dynamicTasksInputs}",
        },
        type: "FORK_JOIN_DYNAMIC",
        decisionCases: {},
        dynamicForkTasksParam: "dynamicTasks",
        dynamicForkTasksInputParamName: "dynamicTasksInput",
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: false,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        asyncComplete: false,
        http_request: {
          method: "GET",
          readTimeOut: 3000,
          uri: "https://catfact.ninja/fact",
          connectionTimeOut: 3000,
        },
      },
      referenceTaskName: "get_random_fact_0",
      retryCount: 0,
      seq: 2,
      pollCount: 1,
      taskDefName: "get_random_fact",
      scheduledTime: 1658878164323,
      startTime: 1658878164941,
      endTime: 1658878165092,
      updateTime: 1658878164975,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "c89a41a7-0d3a-11ed-8160-da9da95e170f",
      workflowType: "dynamic_fork",
      taskId: "c89b2c09-0d3a-11ed-8160-da9da95e170f",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7f568bbff9-jldbm",
      outputData: {
        response: {
          headers: {
            "Transfer-Encoding": ["chunked"],
            Server: ["nginx"],
            "X-Ratelimit-Remaining": ["99"],
            "Access-Control-Allow-Origin": ["*"],
            "X-Content-Type-Options": ["nosniff"],
            Connection: ["keep-alive"],
            Date: ["Tue, 26 Jul 2022 23:29:25 GMT"],
            "X-Frame-Options": ["SAMEORIGIN"],
            "X-Ratelimit-Limit": ["100"],
            "Cache-Control": ["no-cache, private"],
            Vary: ["Accept-Encoding"],
            "Set-Cookie": [
              "XSRF-TOKEN=eyJpdiI6IkNoM1FlOEZubkNwRStwTGVzdG9NR1E9PSIsInZhbHVlIjoiYlU3QXBycXBYRFZlcGQ2dVFjNmUvWmxuMGVIZ1VkR3YrNjVzSGUyVUFFQTdpbnV2cmpQbmRjVGlyQ09DUmRUUFBGaWZKaTNrMnBaS0syUERZQUVnckVHUFBjYVdZN3F5NDgwU2lTdTdxVnlMVVY4ZHYvd3JxcVlUdFlkSG1zK2ciLCJtYWMiOiI5NzlmYjJmMjk4ZGZjYjc2MGE1ZjU1OWY3MGRmODIwZWQxZDg4YTIyODk4NWNhNGZiOWEwZTFlNTA5MjkzOWE0IiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; samesite=lax",
              "cat_facts_session=eyJpdiI6Ikc5V0lkQk4wUDQ5eSsxTXlJWXQwRXc9PSIsInZhbHVlIjoiUHhwUDNZMU0zV2ZTQ25PN0FXYmhoUFNSYmwyTXhGN1lOYlhReCtNc2xweVF0RWRyZy80RTZVUmhLUldwOW9DVmozUEFMWnIvbS9vbDJBcHlYMEh0NmowY0lGbi94VFczejZpSEpaUFRpR1kyMnZyL0RwVG1COEk1aklneFBYdG0iLCJtYWMiOiIzNDYwYzUxZjVlY2UyZWEyM2I0ZmE2ZWY2YWM0NTZhOTA3YzFmYWFmNmYzOGUxMGU2ZWYxNDRmODUwMzk3MzZjIiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; httponly; samesite=lax",
            ],
            "X-XSS-Protection": ["1; mode=block"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            fact: "A cat?s heart beats nearly twice as fast as a human heart, at 110 to 140 beats a minute.",
            length: 88,
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "get_random_fact",
        taskReferenceName: "get_random_fact_0",
        inputParameters: {},
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      queueWaitTime: 618,
      loopOverTask: false,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        asyncComplete: false,
        http_request: {
          method: "GET",
          readTimeOut: 3000,
          uri: "https://catfact.ninja/fact",
          connectionTimeOut: 3000,
        },
      },
      referenceTaskName: "get_random_fact_1",
      retryCount: 0,
      seq: 3,
      pollCount: 1,
      taskDefName: "get_random_fact",
      scheduledTime: 1658878164323,
      startTime: 1658878164974,
      endTime: 1658878165087,
      updateTime: 1658878164974,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "c89a41a7-0d3a-11ed-8160-da9da95e170f",
      workflowType: "dynamic_fork",
      taskId: "c89b2c0a-0d3a-11ed-8160-da9da95e170f",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7f568bbff9-hgn6k",
      outputData: {
        response: {
          headers: {
            "Transfer-Encoding": ["chunked"],
            Server: ["nginx"],
            "X-Ratelimit-Remaining": ["99"],
            "Access-Control-Allow-Origin": ["*"],
            "X-Content-Type-Options": ["nosniff"],
            Connection: ["keep-alive"],
            Date: ["Tue, 26 Jul 2022 23:29:25 GMT"],
            "X-Frame-Options": ["SAMEORIGIN"],
            "X-Ratelimit-Limit": ["100"],
            "Cache-Control": ["no-cache, private"],
            Vary: ["Accept-Encoding"],
            "Set-Cookie": [
              "XSRF-TOKEN=eyJpdiI6IlVxSGNSb1R4eVVqL1EvRzJuZVBGMnc9PSIsInZhbHVlIjoiMGVkNmZMOWg5aEJiZlloNEl3aTNPQTRkM1k1b0tScG1Xb2c1NzEzTTZDRDN1QWFGVDV4YzFLT21nNzZMYUZmTC9ld0Q1Zk5wbUY1NWZKcUI3cVltRDdGV3VMV0NvYjQwdkliNVI5b0Zaek8xejBnalNYMkhPUEk2ek1ja1Z1cFEiLCJtYWMiOiI4YWQ2YjYxZDZkMWY0MjI5NWI1Mjg2ODEyOWQxYmUzZjEzY2U0NzE3N2FlMzg3NDNiOWYxZDAwOTNkMzQxODNlIiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; samesite=lax",
              "cat_facts_session=eyJpdiI6IlN6dEQ3MW9lL0IxWmZsb3E0MHR3ZHc9PSIsInZhbHVlIjoidVRUK3EzS0kzT05mT1d0V01HU3FsS2ZlVy9EajFzTWRmM2M2ajhSSDV2aVVzY21mYzJJdTJ3cnRPSjZPclVkSW9sUEMvaDE3V05OMmFWZEIzQ0w4MFBKVTBhWEFpNXp4a20wdVNHRlY4dDAyOTFwVEI4cTBHRHN2VmEwenNhMDAiLCJtYWMiOiJkZmEwMGQ0ZWY5ODk3YjE2ZDM2NDkwYTE2ZGJhODBiNTUzMTk4ODA2OGZmN2MzZjBlOWRiZWE4YjM3YWNlYTU2IiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; httponly; samesite=lax",
            ],
            "X-XSS-Protection": ["1; mode=block"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            fact: "A cat has more bones than a human being; humans have 206 and the cat has 230 bones.",
            length: 83,
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "get_random_fact",
        taskReferenceName: "get_random_fact_1",
        inputParameters: {},
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      queueWaitTime: 651,
      loopOverTask: false,
      taskDefinition: null,
    },
    {
      taskType: "JOIN",
      status: "COMPLETED",
      inputData: { joinOn: ["get_random_fact_0", "get_random_fact_1"] },
      referenceTaskName: "join_ref",
      retryCount: 0,
      seq: 4,
      pollCount: 0,
      taskDefName: "JOIN",
      scheduledTime: 1658878164323,
      startTime: 1658878164323,
      endTime: 1658878165179,
      updateTime: 1658878164331,
      startDelayInSeconds: 0,
      retried: false,
      executed: false,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "c89a41a7-0d3a-11ed-8160-da9da95e170f",
      workflowType: "dynamic_fork",
      taskId: "c89b2c0b-0d3a-11ed-8160-da9da95e170f",
      callbackAfterSeconds: 0,
      outputData: {
        get_random_fact_0: {
          response: {
            headers: {
              "Transfer-Encoding": ["chunked"],
              Server: ["nginx"],
              "X-Ratelimit-Remaining": ["99"],
              "Access-Control-Allow-Origin": ["*"],
              "X-Content-Type-Options": ["nosniff"],
              Connection: ["keep-alive"],
              Date: ["Tue, 26 Jul 2022 23:29:25 GMT"],
              "X-Frame-Options": ["SAMEORIGIN"],
              "X-Ratelimit-Limit": ["100"],
              "Cache-Control": ["no-cache, private"],
              Vary: ["Accept-Encoding"],
              "Set-Cookie": [
                "XSRF-TOKEN=eyJpdiI6IkNoM1FlOEZubkNwRStwTGVzdG9NR1E9PSIsInZhbHVlIjoiYlU3QXBycXBYRFZlcGQ2dVFjNmUvWmxuMGVIZ1VkR3YrNjVzSGUyVUFFQTdpbnV2cmpQbmRjVGlyQ09DUmRUUFBGaWZKaTNrMnBaS0syUERZQUVnckVHUFBjYVdZN3F5NDgwU2lTdTdxVnlMVVY4ZHYvd3JxcVlUdFlkSG1zK2ciLCJtYWMiOiI5NzlmYjJmMjk4ZGZjYjc2MGE1ZjU1OWY3MGRmODIwZWQxZDg4YTIyODk4NWNhNGZiOWEwZTFlNTA5MjkzOWE0IiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; samesite=lax",
                "cat_facts_session=eyJpdiI6Ikc5V0lkQk4wUDQ5eSsxTXlJWXQwRXc9PSIsInZhbHVlIjoiUHhwUDNZMU0zV2ZTQ25PN0FXYmhoUFNSYmwyTXhGN1lOYlhReCtNc2xweVF0RWRyZy80RTZVUmhLUldwOW9DVmozUEFMWnIvbS9vbDJBcHlYMEh0NmowY0lGbi94VFczejZpSEpaUFRpR1kyMnZyL0RwVG1COEk1aklneFBYdG0iLCJtYWMiOiIzNDYwYzUxZjVlY2UyZWEyM2I0ZmE2ZWY2YWM0NTZhOTA3YzFmYWFmNmYzOGUxMGU2ZWYxNDRmODUwMzk3MzZjIiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; httponly; samesite=lax",
              ],
              "X-XSS-Protection": ["1; mode=block"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              fact: "A cat?s heart beats nearly twice as fast as a human heart, at 110 to 140 beats a minute.",
              length: 88,
            },
            statusCode: 200,
          },
        },
        get_random_fact_1: {
          response: {
            headers: {
              "Transfer-Encoding": ["chunked"],
              Server: ["nginx"],
              "X-Ratelimit-Remaining": ["99"],
              "Access-Control-Allow-Origin": ["*"],
              "X-Content-Type-Options": ["nosniff"],
              Connection: ["keep-alive"],
              Date: ["Tue, 26 Jul 2022 23:29:25 GMT"],
              "X-Frame-Options": ["SAMEORIGIN"],
              "X-Ratelimit-Limit": ["100"],
              "Cache-Control": ["no-cache, private"],
              Vary: ["Accept-Encoding"],
              "Set-Cookie": [
                "XSRF-TOKEN=eyJpdiI6IlVxSGNSb1R4eVVqL1EvRzJuZVBGMnc9PSIsInZhbHVlIjoiMGVkNmZMOWg5aEJiZlloNEl3aTNPQTRkM1k1b0tScG1Xb2c1NzEzTTZDRDN1QWFGVDV4YzFLT21nNzZMYUZmTC9ld0Q1Zk5wbUY1NWZKcUI3cVltRDdGV3VMV0NvYjQwdkliNVI5b0Zaek8xejBnalNYMkhPUEk2ek1ja1Z1cFEiLCJtYWMiOiI4YWQ2YjYxZDZkMWY0MjI5NWI1Mjg2ODEyOWQxYmUzZjEzY2U0NzE3N2FlMzg3NDNiOWYxZDAwOTNkMzQxODNlIiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; samesite=lax",
                "cat_facts_session=eyJpdiI6IlN6dEQ3MW9lL0IxWmZsb3E0MHR3ZHc9PSIsInZhbHVlIjoidVRUK3EzS0kzT05mT1d0V01HU3FsS2ZlVy9EajFzTWRmM2M2ajhSSDV2aVVzY21mYzJJdTJ3cnRPSjZPclVkSW9sUEMvaDE3V05OMmFWZEIzQ0w4MFBKVTBhWEFpNXp4a20wdVNHRlY4dDAyOTFwVEI4cTBHRHN2VmEwenNhMDAiLCJtYWMiOiJkZmEwMGQ0ZWY5ODk3YjE2ZDM2NDkwYTE2ZGJhODBiNTUzMTk4ODA2OGZmN2MzZjBlOWRiZWE4YjM3YWNlYTU2IiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; httponly; samesite=lax",
              ],
              "X-XSS-Protection": ["1; mode=block"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              fact: "A cat has more bones than a human being; humans have 206 and the cat has 230 bones.",
              length: 83,
            },
            statusCode: 200,
          },
        },
      },
      workflowTask: {
        name: "join",
        taskReferenceName: "join_ref",
        inputParameters: {},
        type: "JOIN",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: false,
      taskDefinition: null,
    },
  ],
  input: {
    dynamicTasksInputs: { get_random_fact_0: {}, get_random_fact_1: {} },
    dynamicTasks: [
      {
        name: "get_random_fact",
        taskReferenceName: "get_random_fact_0",
        type: "HTTP",
        inputParameters: {
          http_request: {
            method: "GET",
            readTimeOut: 3000,
            uri: "https://catfact.ninja/fact",
            connectionTimeOut: 3000,
          },
        },
      },
      {
        name: "get_random_fact",
        taskReferenceName: "get_random_fact_1",
        type: "HTTP",
        inputParameters: {
          http_request: {
            method: "GET",
            readTimeOut: 3000,
            uri: "https://catfact.ninja/fact",
            connectionTimeOut: 3000,
          },
        },
      },
    ],
  },
  output: {
    output: {
      get_random_fact_0: {
        response: {
          headers: {
            "Transfer-Encoding": ["chunked"],
            Server: ["nginx"],
            "X-Ratelimit-Remaining": ["99"],
            "Access-Control-Allow-Origin": ["*"],
            "X-Content-Type-Options": ["nosniff"],
            Connection: ["keep-alive"],
            Date: ["Tue, 26 Jul 2022 23:29:25 GMT"],
            "X-Frame-Options": ["SAMEORIGIN"],
            "X-Ratelimit-Limit": ["100"],
            "Cache-Control": ["no-cache, private"],
            Vary: ["Accept-Encoding"],
            "Set-Cookie": [
              "XSRF-TOKEN=eyJpdiI6IkNoM1FlOEZubkNwRStwTGVzdG9NR1E9PSIsInZhbHVlIjoiYlU3QXBycXBYRFZlcGQ2dVFjNmUvWmxuMGVIZ1VkR3YrNjVzSGUyVUFFQTdpbnV2cmpQbmRjVGlyQ09DUmRUUFBGaWZKaTNrMnBaS0syUERZQUVnckVHUFBjYVdZN3F5NDgwU2lTdTdxVnlMVVY4ZHYvd3JxcVlUdFlkSG1zK2ciLCJtYWMiOiI5NzlmYjJmMjk4ZGZjYjc2MGE1ZjU1OWY3MGRmODIwZWQxZDg4YTIyODk4NWNhNGZiOWEwZTFlNTA5MjkzOWE0IiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; samesite=lax",
              "cat_facts_session=eyJpdiI6Ikc5V0lkQk4wUDQ5eSsxTXlJWXQwRXc9PSIsInZhbHVlIjoiUHhwUDNZMU0zV2ZTQ25PN0FXYmhoUFNSYmwyTXhGN1lOYlhReCtNc2xweVF0RWRyZy80RTZVUmhLUldwOW9DVmozUEFMWnIvbS9vbDJBcHlYMEh0NmowY0lGbi94VFczejZpSEpaUFRpR1kyMnZyL0RwVG1COEk1aklneFBYdG0iLCJtYWMiOiIzNDYwYzUxZjVlY2UyZWEyM2I0ZmE2ZWY2YWM0NTZhOTA3YzFmYWFmNmYzOGUxMGU2ZWYxNDRmODUwMzk3MzZjIiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; httponly; samesite=lax",
            ],
            "X-XSS-Protection": ["1; mode=block"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            fact: "A cat?s heart beats nearly twice as fast as a human heart, at 110 to 140 beats a minute.",
            length: 88,
          },
          statusCode: 200,
        },
      },
      get_random_fact_1: {
        response: {
          headers: {
            "Transfer-Encoding": ["chunked"],
            Server: ["nginx"],
            "X-Ratelimit-Remaining": ["99"],
            "Access-Control-Allow-Origin": ["*"],
            "X-Content-Type-Options": ["nosniff"],
            Connection: ["keep-alive"],
            Date: ["Tue, 26 Jul 2022 23:29:25 GMT"],
            "X-Frame-Options": ["SAMEORIGIN"],
            "X-Ratelimit-Limit": ["100"],
            "Cache-Control": ["no-cache, private"],
            Vary: ["Accept-Encoding"],
            "Set-Cookie": [
              "XSRF-TOKEN=eyJpdiI6IlVxSGNSb1R4eVVqL1EvRzJuZVBGMnc9PSIsInZhbHVlIjoiMGVkNmZMOWg5aEJiZlloNEl3aTNPQTRkM1k1b0tScG1Xb2c1NzEzTTZDRDN1QWFGVDV4YzFLT21nNzZMYUZmTC9ld0Q1Zk5wbUY1NWZKcUI3cVltRDdGV3VMV0NvYjQwdkliNVI5b0Zaek8xejBnalNYMkhPUEk2ek1ja1Z1cFEiLCJtYWMiOiI4YWQ2YjYxZDZkMWY0MjI5NWI1Mjg2ODEyOWQxYmUzZjEzY2U0NzE3N2FlMzg3NDNiOWYxZDAwOTNkMzQxODNlIiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; samesite=lax",
              "cat_facts_session=eyJpdiI6IlN6dEQ3MW9lL0IxWmZsb3E0MHR3ZHc9PSIsInZhbHVlIjoidVRUK3EzS0kzT05mT1d0V01HU3FsS2ZlVy9EajFzTWRmM2M2ajhSSDV2aVVzY21mYzJJdTJ3cnRPSjZPclVkSW9sUEMvaDE3V05OMmFWZEIzQ0w4MFBKVTBhWEFpNXp4a20wdVNHRlY4dDAyOTFwVEI4cTBHRHN2VmEwenNhMDAiLCJtYWMiOiJkZmEwMGQ0ZWY5ODk3YjE2ZDM2NDkwYTE2ZGJhODBiNTUzMTk4ODA2OGZmN2MzZjBlOWRiZWE4YjM3YWNlYTU2IiwidGFnIjoiIn0%3D; expires=Wed, 27-Jul-2022 01:29:25 GMT; path=/; httponly; samesite=lax",
            ],
            "X-XSS-Protection": ["1; mode=block"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            fact: "A cat has more bones than a human being; humans have 206 and the cat has 230 bones.",
            length: 83,
          },
          statusCode: 200,
        },
      },
    },
  },
  taskToDomain: {},
  failedReferenceTaskNames: [],
  workflowDefinition: {
    createTime: 0,
    updateTime: 0,
    name: "dynamic_fork",
    description: "dynamic fork join example",
    version: 1,
    tasks: [
      {
        name: "fork",
        taskReferenceName: "fork_ref",
        inputParameters: {
          dynamicTasks: "${workflow.input.dynamicTasks}",
          dynamicTasksInput: "${workflow.input.dynamicTasksInputs}",
        },
        type: "FORK_JOIN_DYNAMIC",
        decisionCases: {},
        dynamicForkTasksParam: "dynamicTasks",
        dynamicForkTasksInputParamName: "dynamicTasksInput",
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
      {
        name: "join",
        taskReferenceName: "join_ref",
        inputParameters: {},
        type: "JOIN",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
      },
    ],
    inputParameters: ["dynamicTasks", "dynamicTasksInputs"],
    outputParameters: { output: "${join_ref.output}" },
    schemaVersion: 2,
    restartable: true,
    workflowStatusListenerEnabled: false,
    ownerEmail: "reumontf@gmail.com",
    timeoutPolicy: "ALERT_ONLY",
    timeoutSeconds: 0,
    failureWorkflow: "",
    variables: {},
    inputTemplate: {},
  },
  priority: 0,
  variables: {},
  lastRetriedTime: 0,
  startTime: 1658878164317,
  workflowVersion: 1,
  workflowName: "dynamic_fork",
};

export const newDynamicForkSample = {
  createTime: 1686804244860,
  updateTime: 1686803821513,
  name: "najeeb_15_june_fork",
  description:
    "Edit or extend this sample workflow. Set the workflow name to get started",
  version: 1,
  tasks: [
    {
      name: "dynamic",
      taskReferenceName: "dynamic_ref",
      inputParameters: {
        dynamicTasks: [
          {
            name: "image_convert_resize",
            taskReferenceName: "image_convert_resize_png_300x300_0",
          },
          {
            name: "image_convert_resize",
            taskReferenceName: "image_convert_resize_png_200x200_1",
          },
          {
            name: "check",
            taskReferenceName: "fallsas",
          },
        ],
        dynamicTasksInput: {
          image_convert_resize_png_300x300_0: {
            outputWidth: 300,
            outputHeight: 300,
          },
          image_convert_resize_png_200x200_1: {
            outputWidth: 200,
            outputHeight: 200,
          },
        },
      },
      type: "FORK_JOIN_DYNAMIC",
      decisionCases: {},
      dynamicForkTasksParam: "dynamicTasks",
      dynamicForkTasksInputParamName: "dynamicTasksInput",
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    {
      name: "join_task",
      taskReferenceName: "join_task_ref",
      inputParameters: {},
      type: "JOIN",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
  ],
  inputParameters: [],
  outputParameters: {
    data: "${get_random_fact.output.response.body.fact}",
  },
  failureWorkflow: "",
  schemaVersion: 2,
  restartable: true,
  workflowStatusListenerEnabled: false,
  ownerEmail: "najeeb.thangal@orkes.io",
  timeoutPolicy: "ALERT_ONLY",
  timeoutSeconds: 0,
  variables: {},
  inputTemplate: {},
  onStateChange: {},
};

export const sampleExecutionDoWhile = {
  ownerApp: "nhandt+006@orkes.io",
  createTime: 1711431102670,
  updateTime: 1711431104863,
  createdBy: "najeeb.thangal@orkes.io",
  updatedBy: "",
  status: "COMPLETED",
  endTime: 1711431104861,
  workflowId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
  parentWorkflowId: "",
  parentWorkflowTaskId: "",
  tasks: [
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_first",
      retryCount: 0,
      seq: 1,
      pollCount: 1,
      taskDefName: "http_first",
      scheduledTime: 1711431102672,
      startTime: 1711431102750,
      endTime: 1711431102811,
      updateTime: 1711431102750,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "20d3ff55-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 05:31:42 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 339,
            hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
            randomString: "mxxsreljbjqgqwojkqxd",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_first",
        taskReferenceName: "http_ref_first",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      loopOverTask: false,
      taskDefinition: null,
      queueWaitTime: 78,
    },
    {
      taskType: "DO_WHILE",
      status: "COMPLETED",
      inputData: {
        number: 10,
        _createdBy: "najeeb.thangal@orkes.io",
      },
      referenceTaskName: "do_while_ref",
      retryCount: 0,
      seq: 2,
      pollCount: 0,
      taskDefName: "do_while",
      scheduledTime: 1711431102815,
      startTime: 1711431102815,
      endTime: 1711431104753,
      updateTime: 1711431104550,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "20e9aa36-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        1: {
          http_ref_cool: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:42 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 4701,
                hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
                randomString: "zflljulcusapgwfaiytx",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["2"],
            selectedCase: "2",
          },
          http_third_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 05:31:42 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 745,
                hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
                randomString: "vblryduefgemnwrifggg",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        2: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 6714,
                hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                randomString: "gspbuyqidhyripmblnhh",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 3391,
                hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                randomString: "qoauwnmkptdtwonrallz",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        3: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 591,
                hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
                randomString: "osikimmicsohimctzynf",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 9953,
                hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
                randomString: "mfdhzhvuammftfncjduz",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        4: {
          switch_ref: {
            evaluationResult: ["4"],
            selectedCase: "4",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 7297,
                hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
                randomString: "emnrcqiwfbrkybhsyptc",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 6651,
                hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
                randomString: "uctrykkkcchadijylujt",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        5: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 1775,
                hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
                randomString: "uscnqmblxmnegjlnbtaa",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        6: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 9639,
                hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
                randomString: "zwbfptybsvekbfvzbzml",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        7: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 2929,
                hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                randomString: "ksityuwtdupeziewwqyh",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 1547,
                hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
                randomString: "xlttyspawtakwfzgslan",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        8: {
          http_ref_cool: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 363,
                hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
                randomString: "hhlhczvqswurlwzjclyi",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["2"],
            selectedCase: "2",
          },
          http_third_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 5290,
                hostName: "orkes-api-sampler-67dfc8cf58-sts78",
                randomString: "ucbkmlxiyqnyakiqggrj",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        9: {
          switch_ref: {
            evaluationResult: ["4"],
            selectedCase: "4",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 5292,
                hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
                randomString: "zejbepozxwbqfguyhkal",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 234,
                hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
                randomString: "ynvpazmgmmwgqjxnilxo",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        10: {
          switch_ref: {
            evaluationResult: ["4"],
            selectedCase: "4",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 7926,
                hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
                randomString: "rzcxmijtfvpcvxqrtblg",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 5867,
                hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                randomString: "lztsmmtdznjtgbjialsw",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        iteration: 10,
      },
      workflowTask: {
        name: "do_while",
        taskReferenceName: "do_while_ref",
        inputParameters: {
          number: 10,
        },
        type: "DO_WHILE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopCondition:
          "(function () {\nif ($.do_while_ref['iteration'] < $.number) {\nreturn true;\n}\nreturn false;\n})();",
        loopOver: [
          {
            name: "switch",
            taskReferenceName: "switch_ref",
            inputParameters: {
              "": "",
            },
            type: "SWITCH",
            decisionCases: {
              2: [
                {
                  name: "http_third",
                  taskReferenceName: "http_third_ref",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_cool",
                  taskReferenceName: "http_ref_cool",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              3: [
                {
                  name: "http_five",
                  taskReferenceName: "http_ref_five",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
            },
            defaultCase: [
              {
                name: "http_second",
                taskReferenceName: "http_second_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
              {
                name: "http_four",
                taskReferenceName: "http_ref_four_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            evaluatorType: "graaljs",
            expression:
              "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
            onStateChange: {},
          },
        ],
        evaluatorType: "graaljs",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "2",
      },
      referenceTaskName: "switch_ref__1",
      retryCount: 0,
      seq: 3,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431102833,
      startTime: 1711431102833,
      endTime: 1711431102833,
      updateTime: 1711431102833,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "20e9f857-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["2"],
        selectedCase: "2",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_third_ref__1",
      retryCount: 0,
      seq: 4,
      pollCount: 1,
      taskDefName: "http_third",
      scheduledTime: 1711431102829,
      startTime: 1711431102860,
      endTime: 1711431102871,
      updateTime: 1711431102860,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "20ebf428-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 05:31:42 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 745,
            hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
            randomString: "vblryduefgemnwrifggg",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_third",
        taskReferenceName: "http_third_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 31,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_cool__1",
      retryCount: 0,
      seq: 5,
      pollCount: 1,
      taskDefName: "http_cool",
      scheduledTime: 1711431102873,
      startTime: 1711431102970,
      endTime: 1711431102981,
      updateTime: 1711431102971,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "20f2aae9-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:42 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 4701,
            hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
            randomString: "zflljulcusapgwfaiytx",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_cool",
        taskReferenceName: "http_ref_cool",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 97,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__2",
      retryCount: 0,
      seq: 6,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431103002,
      startTime: 1711431103002,
      endTime: 1711431103002,
      updateTime: 1711431103002,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "2104100a-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__2",
      retryCount: 0,
      seq: 7,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711431103000,
      startTime: 1711431103081,
      endTime: 1711431103090,
      updateTime: 1711431103081,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21060bdb-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 6714,
            hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
            randomString: "gspbuyqidhyripmblnhh",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 81,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__2",
      retryCount: 0,
      seq: 8,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711431103094,
      startTime: 1711431103191,
      endTime: 1711431103201,
      updateTime: 1711431103191,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21143cac-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 3391,
            hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
            randomString: "qoauwnmkptdtwonrallz",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 97,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__3",
      retryCount: 0,
      seq: 9,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431103218,
      startTime: 1711431103219,
      endTime: 1711431103219,
      updateTime: 1711431103219,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21257abd-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 1,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__3",
      retryCount: 0,
      seq: 10,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711431103217,
      startTime: 1711431103301,
      endTime: 1711431103311,
      updateTime: 1711431103301,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "2127286e-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 591,
            hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
            randomString: "osikimmicsohimctzynf",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 84,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__3",
      retryCount: 0,
      seq: 11,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711431103313,
      startTime: 1711431103410,
      endTime: 1711431103420,
      updateTime: 1711431103411,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "2135ce6f-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 9953,
            hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
            randomString: "mfdhzhvuammftfncjduz",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 97,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "4",
      },
      referenceTaskName: "switch_ref__4",
      retryCount: 0,
      seq: 12,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431103439,
      startTime: 1711431103440,
      endTime: 1711431103440,
      updateTime: 1711431103440,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21470c80-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["4"],
        selectedCase: "4",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 1,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__4",
      retryCount: 0,
      seq: 13,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711431103438,
      startTime: 1711431103520,
      endTime: 1711431103530,
      updateTime: 1711431103520,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "2148e141-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 7297,
            hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
            randomString: "emnrcqiwfbrkybhsyptc",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 82,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__4",
      retryCount: 0,
      seq: 14,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711431103532,
      startTime: 1711431103629,
      endTime: 1711431103639,
      updateTime: 1711431103630,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21573922-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 6651,
            hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
            randomString: "uctrykkkcchadijylujt",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 97,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__5",
      retryCount: 0,
      seq: 15,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431103658,
      startTime: 1711431103659,
      endTime: 1711431103659,
      updateTime: 1711431103659,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21687733-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 5,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 1,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__5",
      retryCount: 0,
      seq: 16,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711431103656,
      startTime: 1711431103739,
      endTime: 1711431103749,
      updateTime: 1711431103739,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "216a24e4-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 1775,
            hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
            randomString: "uscnqmblxmnegjlnbtaa",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 5,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 83,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__6",
      retryCount: 0,
      seq: 17,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431103774,
      startTime: 1711431103774,
      endTime: 1711431103774,
      updateTime: 1711431103774,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "2179b545-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 6,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__6",
      retryCount: 0,
      seq: 18,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711431103772,
      startTime: 1711431103849,
      endTime: 1711431103867,
      updateTime: 1711431103849,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "217bd826-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 9639,
            hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
            randomString: "zwbfptybsvekbfvzbzml",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 6,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 77,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__7",
      retryCount: 0,
      seq: 19,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431103888,
      startTime: 1711431103888,
      endTime: 1711431103888,
      updateTime: 1711431103888,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "218b4177-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__7",
      retryCount: 0,
      seq: 20,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711431103885,
      startTime: 1711431103967,
      endTime: 1711431103976,
      updateTime: 1711431103967,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "218d1638-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:43 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 2929,
            hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
            randomString: "ksityuwtdupeziewwqyh",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 82,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__7",
      retryCount: 0,
      seq: 21,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711431103979,
      startTime: 1711431104077,
      endTime: 1711431104088,
      updateTime: 1711431104078,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "219b6e19-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 1547,
            hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
            randomString: "xlttyspawtakwfzgslan",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 98,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "2",
      },
      referenceTaskName: "switch_ref__8",
      retryCount: 0,
      seq: 22,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431104107,
      startTime: 1711431104107,
      endTime: 1711431104107,
      updateTime: 1711431104107,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21ad215a-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["2"],
        selectedCase: "2",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_third_ref__8",
      retryCount: 0,
      seq: 23,
      pollCount: 1,
      taskDefName: "http_third",
      scheduledTime: 1711431104104,
      startTime: 1711431104188,
      endTime: 1711431104198,
      updateTime: 1711431104188,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21ae80eb-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 5290,
            hostName: "orkes-api-sampler-67dfc8cf58-sts78",
            randomString: "ucbkmlxiyqnyakiqggrj",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_third",
        taskReferenceName: "http_third_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 84,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_cool__8",
      retryCount: 0,
      seq: 24,
      pollCount: 1,
      taskDefName: "http_cool",
      scheduledTime: 1711431104200,
      startTime: 1711431104298,
      endTime: 1711431104307,
      updateTime: 1711431104298,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21bd26ec-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 363,
            hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
            randomString: "hhlhczvqswurlwzjclyi",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_cool",
        taskReferenceName: "http_ref_cool",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 98,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "4",
      },
      referenceTaskName: "switch_ref__9",
      retryCount: 0,
      seq: 25,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431104328,
      startTime: 1711431104328,
      endTime: 1711431104328,
      updateTime: 1711431104328,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21ce64fd-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["4"],
        selectedCase: "4",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 9,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__9",
      retryCount: 0,
      seq: 26,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711431104326,
      startTime: 1711431104408,
      endTime: 1711431104419,
      updateTime: 1711431104408,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21d060ce-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 5292,
            hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
            randomString: "zejbepozxwbqfguyhkal",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 9,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 82,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__9",
      retryCount: 0,
      seq: 27,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711431104421,
      startTime: 1711431104520,
      endTime: 1711431104529,
      updateTime: 1711431104520,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21dedfbf-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 234,
            hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
            randomString: "ynvpazmgmmwgqjxnilxo",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 9,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 99,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "4",
      },
      referenceTaskName: "switch_ref__10",
      retryCount: 0,
      seq: 28,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711431104548,
      startTime: 1711431104548,
      endTime: 1711431104548,
      updateTime: 1711431104548,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21f044e0-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["4"],
        selectedCase: "4",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 0,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__10",
      retryCount: 0,
      seq: 29,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711431104546,
      startTime: 1711431104629,
      endTime: 1711431104639,
      updateTime: 1711431104629,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "21f1f291-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 7926,
            hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
            randomString: "rzcxmijtfvpcvxqrtblg",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 83,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__10",
      retryCount: 0,
      seq: 30,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711431104642,
      startTime: 1711431104739,
      endTime: 1711431104747,
      updateTime: 1711431104739,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "22007182-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 5867,
            hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
            randomString: "lztsmmtdznjtgbjialsw",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      loopOverTask: true,
      taskDefinition: null,
      queueWaitTime: 97,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_last_ref",
      retryCount: 0,
      seq: 31,
      pollCount: 1,
      taskDefName: "http_last",
      scheduledTime: 1711431104755,
      startTime: 1711431104848,
      endTime: 1711431104858,
      updateTime: 1711431104848,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "20d3b134-eb32-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test",
      taskId: "2211d6a3-eb32-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 3688,
            hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
            randomString: "jiyldckcvjnosuybyjgr",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_last",
        taskReferenceName: "http_last_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      loopOverTask: false,
      taskDefinition: null,
      queueWaitTime: 93,
    },
  ],
  input: {},
  output: {
    response: {
      headers: {
        "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
        Connection: ["keep-alive"],
        "Content-Length": ["182"],
        Date: ["Tue, 26 Mar 2024 05:31:44 GMT"],
        "Content-Type": ["application/json"],
      },
      reasonPhrase: "OK",
      body: {
        randomInt: 3688,
        hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
        randomString: "jiyldckcvjnosuybyjgr",
        queryParams: {},
        sleepFor: "0 ms",
        apiRandomDelay: "0 ms",
        statusCode: "200",
      },
      statusCode: 200,
    },
  },
  taskToDomain: {},
  failedReferenceTaskNames: [],
  workflowDefinition: {
    name: "doWhileExample-test",
    description: "DoWhile",
    version: 1,
    tasks: [
      {
        name: "http_first",
        taskReferenceName: "http_ref_first",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      {
        name: "do_while",
        taskReferenceName: "do_while_ref",
        inputParameters: {
          number: 10,
        },
        type: "DO_WHILE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopCondition:
          "(function () {\nif ($.do_while_ref['iteration'] < $.number) {\nreturn true;\n}\nreturn false;\n})();",
        loopOver: [
          {
            name: "switch",
            taskReferenceName: "switch_ref",
            inputParameters: {
              "": "",
            },
            type: "SWITCH",
            decisionCases: {
              2: [
                {
                  name: "http_third",
                  taskReferenceName: "http_third_ref",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_cool",
                  taskReferenceName: "http_ref_cool",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              3: [
                {
                  name: "http_five",
                  taskReferenceName: "http_ref_five",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
            },
            defaultCase: [
              {
                name: "http_second",
                taskReferenceName: "http_second_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
              {
                name: "http_four",
                taskReferenceName: "http_ref_four_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            evaluatorType: "graaljs",
            expression:
              "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
            onStateChange: {},
          },
        ],
        evaluatorType: "graaljs",
        onStateChange: {},
      },
      {
        name: "http_last",
        taskReferenceName: "http_last_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
    ],
    inputParameters: [],
    outputParameters: {},
    schemaVersion: 2,
    restartable: true,
    workflowStatusListenerEnabled: false,
    ownerEmail: "najeeb.thangal@orkes.io",
    timeoutPolicy: "ALERT_ONLY",
    timeoutSeconds: 0,
    variables: {},
    inputTemplate: {},
    rateLimitConfig: {
      rateLimitKey: "",
      concurrentExecLimit: 0,
    },
  },
  priority: 0,
  variables: {},
  lastRetriedTime: 0,
  history: [],
  idempotencyKey: "",
  rateLimited: false,
  startTime: 1711431102670,
  workflowName: "doWhileExample-test",
  workflowVersion: 1,
};

export const sampleExecutionMultiDoWhile = {
  ownerApp: "nhandt+006@orkes.io",
  createTime: 1711471925001,
  updateTime: 1711471927651,
  createdBy: "najeeb.thangal@orkes.io",
  updatedBy: "",
  status: "COMPLETED",
  endTime: 1711471927649,
  workflowId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
  parentWorkflowId: "",
  parentWorkflowTaskId: "",
  tasks: [
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_first",
      retryCount: 0,
      seq: 1,
      pollCount: 1,
      taskDefName: "http_first",
      scheduledTime: 1711471925008,
      startTime: 1711471925082,
      endTime: 1711471925168,
      updateTime: 1711471925082,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2cd6274a-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 141,
            hostName: "orkes-api-sampler-67dfc8cf58-sts78",
            randomString: "ieflflzwxuioasyrpcuy",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_first",
        taskReferenceName: "http_ref_first",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      queueWaitTime: 74,
      loopOverTask: false,
      taskDefinition: null,
    },
    {
      taskType: "DO_WHILE",
      status: "COMPLETED",
      inputData: {
        number: 10,
        _createdBy: "najeeb.thangal@orkes.io",
      },
      referenceTaskName: "do_while_ref",
      retryCount: 0,
      seq: 2,
      pollCount: 0,
      taskDefName: "do_while",
      scheduledTime: 1711471925176,
      startTime: 1711471925176,
      endTime: 1711471926648,
      updateTime: 1711471926565,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2cef7bab-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        1: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 8714,
                hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
                randomString: "pfoaimvrlugiyrhfimay",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        2: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 1544,
                hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
                randomString: "rgiezqolnhzbydafasan",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 629,
                hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
                randomString: "lzlatizbpoqjhzdosgso",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        3: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 4184,
                hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
                randomString: "krbshxkajdnwwsfktacy",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 6209,
                hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
                randomString: "yfwguelsuywesbdqtgot",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        4: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 4205,
                hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                randomString: "jfkmltyjvljzekrrokgb",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        5: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 8381,
                hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                randomString: "qwfsboamyfvitgofhmyx",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        6: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 9193,
                hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
                randomString: "hodpvolnbhurcviznsae",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        7: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 7460,
                hostName: "orkes-api-sampler-67dfc8cf58-sts78",
                randomString: "gaylbzkwhkcmvnrbqofh",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 4893,
                hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
                randomString: "zschnkxrmpkpqzxqulkt",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        8: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 2499,
                hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
                randomString: "yeckxdenrknaxlssksws",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        9: {
          switch_ref: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
          http_second_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 8649,
                hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
                randomString: "ivwrjhwhhptaklledpom",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          http_ref_four_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 1574,
                hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
                randomString: "hgrpontvfcxtpkaiecau",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
        },
        10: {
          http_ref_five: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 4135,
                hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
                randomString: "wcbjbqpgrjidquahiihm",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        iteration: 10,
      },
      workflowTask: {
        name: "do_while",
        taskReferenceName: "do_while_ref",
        inputParameters: {
          number: 10,
        },
        type: "DO_WHILE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopCondition:
          "(function () {\nif ($.do_while_ref['iteration'] < $.number) {\nreturn true;\n}\nreturn false;\n})();",
        loopOver: [
          {
            name: "switch",
            taskReferenceName: "switch_ref",
            inputParameters: {
              "": "",
            },
            type: "SWITCH",
            decisionCases: {
              2: [
                {
                  name: "http_third",
                  taskReferenceName: "http_third_ref",
                  inputParameters: {
                    method: "GET",
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_cool",
                  taskReferenceName: "http_ref_cool",
                  inputParameters: {
                    method: "GET",
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              3: [
                {
                  name: "http_five",
                  taskReferenceName: "http_ref_five",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
            },
            defaultCase: [
              {
                name: "http_second",
                taskReferenceName: "http_second_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
              {
                name: "http_four",
                taskReferenceName: "http_ref_four_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            evaluatorType: "graaljs",
            expression:
              "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
            onStateChange: {},
          },
        ],
        evaluatorType: "graaljs",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__1",
      retryCount: 0,
      seq: 3,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471925191,
      startTime: 1711471925191,
      endTime: 1711471925191,
      updateTime: 1711471925191,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2ceff0dc-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__1",
      retryCount: 0,
      seq: 4,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711471925184,
      startTime: 1711471925196,
      endTime: 1711471925207,
      updateTime: 1711471925196,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2cf1024d-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 8714,
            hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
            randomString: "pfoaimvrlugiyrhfimay",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      queueWaitTime: 12,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__2",
      retryCount: 0,
      seq: 5,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471925231,
      startTime: 1711471925231,
      endTime: 1711471925231,
      updateTime: 1711471925231,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2cf60b5e-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__2",
      retryCount: 0,
      seq: 6,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711471925227,
      startTime: 1711471925307,
      endTime: 1711471925317,
      updateTime: 1711471925307,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2cf791ff-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 1544,
            hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
            randomString: "rgiezqolnhzbydafasan",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      queueWaitTime: 80,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__2",
      retryCount: 0,
      seq: 7,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711471925322,
      startTime: 1711471925417,
      endTime: 1711471925427,
      updateTime: 1711471925417,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d0610f0-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 629,
            hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
            randomString: "lzlatizbpoqjhzdosgso",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      queueWaitTime: 95,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__3",
      retryCount: 0,
      seq: 8,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471925449,
      startTime: 1711471925449,
      endTime: 1711471925449,
      updateTime: 1711471925449,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d17c431-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__3",
      retryCount: 0,
      seq: 9,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711471925445,
      startTime: 1711471925527,
      endTime: 1711471925538,
      updateTime: 1711471925527,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d18d5a2-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 4184,
            hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
            randomString: "krbshxkajdnwwsfktacy",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      queueWaitTime: 82,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__3",
      retryCount: 0,
      seq: 10,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711471925543,
      startTime: 1711471925638,
      endTime: 1711471925648,
      updateTime: 1711471925638,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d27c9c3-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 6209,
            hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
            randomString: "yfwguelsuywesbdqtgot",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      queueWaitTime: 95,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__4",
      retryCount: 0,
      seq: 11,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471925677,
      startTime: 1711471925677,
      endTime: 1711471925677,
      updateTime: 1711471925677,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d39a414-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__4",
      retryCount: 0,
      seq: 12,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711471925667,
      startTime: 1711471925748,
      endTime: 1711471925760,
      updateTime: 1711471925748,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d3ab585-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 4205,
            hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
            randomString: "jfkmltyjvljzekrrokgb",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      queueWaitTime: 81,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__5",
      retryCount: 0,
      seq: 13,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471925782,
      startTime: 1711471925782,
      endTime: 1711471925782,
      updateTime: 1711471925782,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d4a6cf6-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 5,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__5",
      retryCount: 0,
      seq: 14,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711471925777,
      startTime: 1711471925859,
      endTime: 1711471925876,
      updateTime: 1711471925859,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d4b7e67-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 8381,
            hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
            randomString: "qwfsboamyfvitgofhmyx",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 5,
      subworkflowChanged: false,
      queueWaitTime: 82,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__6",
      retryCount: 0,
      seq: 15,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471925899,
      startTime: 1711471925899,
      endTime: 1711471925899,
      updateTime: 1711471925899,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d5bf928-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 6,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__6",
      retryCount: 0,
      seq: 16,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711471925894,
      startTime: 1711471925970,
      endTime: 1711471925980,
      updateTime: 1711471925970,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d5d58b9-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:05 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 9193,
            hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
            randomString: "hodpvolnbhurcviznsae",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 6,
      subworkflowChanged: false,
      queueWaitTime: 76,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__7",
      retryCount: 0,
      seq: 17,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926000,
      startTime: 1711471926000,
      endTime: 1711471926000,
      updateTime: 1711471926000,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d6bb09a-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__7",
      retryCount: 0,
      seq: 18,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711471925996,
      startTime: 1711471926080,
      endTime: 1711471926089,
      updateTime: 1711471926080,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d6ce91b-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 7460,
            hostName: "orkes-api-sampler-67dfc8cf58-sts78",
            randomString: "gaylbzkwhkcmvnrbqofh",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      queueWaitTime: 84,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__7",
      retryCount: 0,
      seq: 19,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711471926095,
      startTime: 1711471926190,
      endTime: 1711471926199,
      updateTime: 1711471926190,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d7bdd3c-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 4893,
            hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
            randomString: "zschnkxrmpkpqzxqulkt",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      queueWaitTime: 95,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__8",
      retryCount: 0,
      seq: 20,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926223,
      startTime: 1711471926223,
      endTime: 1711471926223,
      updateTime: 1711471926223,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d8d907d-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__8",
      retryCount: 0,
      seq: 21,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711471926218,
      startTime: 1711471926300,
      endTime: 1711471926308,
      updateTime: 1711471926300,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d8ec8fe-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 2499,
            hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
            randomString: "yeckxdenrknaxlssksws",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      queueWaitTime: 82,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref__9",
      retryCount: 0,
      seq: 22,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926330,
      startTime: 1711471926330,
      endTime: 1711471926330,
      updateTime: 1711471926330,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d9e0b3f-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 9,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_second_ref__9",
      retryCount: 0,
      seq: 23,
      pollCount: 1,
      taskDefName: "http_second",
      scheduledTime: 1711471926325,
      startTime: 1711471926409,
      endTime: 1711471926419,
      updateTime: 1711471926409,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2d9f1cb0-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 8649,
            hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
            randomString: "ivwrjhwhhptaklledpom",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_second",
        taskReferenceName: "http_second_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 9,
      subworkflowChanged: false,
      queueWaitTime: 84,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_four_ref__9",
      retryCount: 0,
      seq: 24,
      pollCount: 1,
      taskDefName: "http_four",
      scheduledTime: 1711471926428,
      startTime: 1711471926519,
      endTime: 1711471926541,
      updateTime: 1711471926519,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2daed421-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 1574,
            hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
            randomString: "hgrpontvfcxtpkaiecau",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_four",
        taskReferenceName: "http_ref_four_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 9,
      subworkflowChanged: false,
      queueWaitTime: 91,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        "": "",
        hasChildren: "true",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref__10",
      retryCount: 0,
      seq: 25,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926563,
      startTime: 1711471926563,
      endTime: 1711471926563,
      updateTime: 1711471926563,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2dc1bfe2-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch",
        taskReferenceName: "switch_ref",
        inputParameters: {
          "": "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_third",
              taskReferenceName: "http_third_ref",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_cool",
              taskReferenceName: "http_ref_cool",
              inputParameters: {
                method: "GET",
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_five",
              taskReferenceName: "http_ref_five",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_second",
            taskReferenceName: "http_second_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
          {
            name: "http_four",
            taskReferenceName: "http_ref_four_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_five__10",
      retryCount: 0,
      seq: 26,
      pollCount: 1,
      taskDefName: "http_five",
      scheduledTime: 1711471926559,
      startTime: 1711471926628,
      endTime: 1711471926638,
      updateTime: 1711471926628,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2dc2d153-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 4135,
            hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
            randomString: "wcbjbqpgrjidquahiihm",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_five",
        taskReferenceName: "http_ref_five",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 10,
      subworkflowChanged: false,
      queueWaitTime: 69,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_last_ref",
      retryCount: 0,
      seq: 27,
      pollCount: 1,
      taskDefName: "http_last",
      scheduledTime: 1711471926651,
      startTime: 1711471926738,
      endTime: 1711471926749,
      updateTime: 1711471926738,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2dd0b404-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 316,
            hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
            randomString: "nqfvddyhiefplxkfpvce",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_last",
        taskReferenceName: "http_last_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 0,
      subworkflowChanged: false,
      queueWaitTime: 87,
      loopOverTask: false,
      taskDefinition: null,
    },
    {
      taskType: "DO_WHILE",
      status: "COMPLETED",
      inputData: {
        number: "8",
        _createdBy: "najeeb.thangal@orkes.io",
      },
      referenceTaskName: "do_while_ref_1",
      retryCount: 0,
      seq: 28,
      pollCount: 0,
      taskDefName: "do_while_1",
      scheduledTime: 1711471926757,
      startTime: 1711471926757,
      endTime: 1711471927646,
      updateTime: 1711471927554,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2de09285-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        1: {
          http_new_dowhile_one_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 8059,
                hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                randomString: "ffjecsjmhafljzlfmomh",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["4"],
            selectedCase: "4",
          },
        },
        2: {
          http_new_dowhile_two_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 840,
                hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
                randomString: "qdxthpirsqnhyylytlwp",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["2"],
            selectedCase: "2",
          },
        },
        3: {
          http_new_dowhile_two_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 5889,
                hostName: "orkes-api-sampler-67dfc8cf58-sts78",
                randomString: "vqqjoysaxxifvnzsrgdf",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["2"],
            selectedCase: "2",
          },
        },
        4: {
          http_new_dowhile_one_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 3285,
                hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
                randomString: "omiwzhgmfgecamejmqnw",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
        },
        5: {
          http_new_dowhile_one_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["181"],
                Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 379,
                hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
                randomString: "vqbajywpvhuofzyaqukp",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["4"],
            selectedCase: "4",
          },
        },
        6: {
          http_new_dowhile_one_ref: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 2130,
                hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
                randomString: "luiyzqmpzmqcyfrwaxht",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["1"],
            selectedCase: "1",
          },
        },
        7: {
          http_ref_1: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 9020,
                hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
                randomString: "hdnsxoswwdzjhqrzpegq",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        8: {
          http_ref_1: {
            response: {
              headers: {
                "Strict-Transport-Security": [
                  "max-age=15724800; includeSubDomains",
                ],
                Connection: ["keep-alive"],
                "Content-Length": ["182"],
                Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
                "Content-Type": ["application/json"],
              },
              reasonPhrase: "OK",
              body: {
                randomInt: 6546,
                hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
                randomString: "tunauwsfdcbqgktnoayp",
                queryParams: {},
                sleepFor: "0 ms",
                apiRandomDelay: "0 ms",
                statusCode: "200",
              },
              statusCode: 200,
            },
          },
          switch_ref_1: {
            evaluationResult: ["3"],
            selectedCase: "3",
          },
        },
        iteration: 8,
      },
      workflowTask: {
        name: "do_while_1",
        taskReferenceName: "do_while_ref_1",
        inputParameters: {
          number: "8",
        },
        type: "DO_WHILE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopCondition:
          "(function () {\nif ($.do_while_ref_1['iteration'] < $.number) {\nreturn true;\n}\nreturn false;\n})();",
        loopOver: [
          {
            name: "switch_1",
            taskReferenceName: "switch_ref_1",
            inputParameters: {
              switchCaseValue: "",
            },
            type: "SWITCH",
            decisionCases: {
              2: [
                {
                  name: "http_new_dowhile_two",
                  taskReferenceName: "http_new_dowhile_two_ref",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              3: [
                {
                  name: "http_1",
                  taskReferenceName: "http_ref_1",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
            },
            defaultCase: [
              {
                name: "http_new_dowhile_one",
                taskReferenceName: "http_new_dowhile_one_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            evaluatorType: "graaljs",
            expression:
              "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
            onStateChange: {},
          },
        ],
        evaluatorType: "graaljs",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 1,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "4",
      },
      referenceTaskName: "switch_ref_1__1",
      retryCount: 0,
      seq: 29,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926772,
      startTime: 1711471926772,
      endTime: 1711471926772,
      updateTime: 1711471926772,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2de12ec6-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["4"],
        selectedCase: "4",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_new_dowhile_one_ref__1",
      retryCount: 0,
      seq: 30,
      pollCount: 1,
      taskDefName: "http_new_dowhile_one",
      scheduledTime: 1711471926767,
      startTime: 1711471926849,
      endTime: 1711471926861,
      updateTime: 1711471926849,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2de28e57-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 8059,
            hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
            randomString: "ffjecsjmhafljzlfmomh",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_new_dowhile_one",
        taskReferenceName: "http_new_dowhile_one_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 1,
      subworkflowChanged: false,
      queueWaitTime: 82,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "2",
      },
      referenceTaskName: "switch_ref_1__2",
      retryCount: 0,
      seq: 31,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926883,
      startTime: 1711471926883,
      endTime: 1711471926883,
      updateTime: 1711471926883,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2df293e8-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["2"],
        selectedCase: "2",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_new_dowhile_two_ref__2",
      retryCount: 0,
      seq: 32,
      pollCount: 1,
      taskDefName: "http_new_dowhile_two",
      scheduledTime: 1711471926879,
      startTime: 1711471926958,
      endTime: 1711471926969,
      updateTime: 1711471926958,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2df3a559-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 16:52:06 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 840,
            hostName: "orkes-api-sampler-67dfc8cf58-mzb8h",
            randomString: "qdxthpirsqnhyylytlwp",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_new_dowhile_two",
        taskReferenceName: "http_new_dowhile_two_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 2,
      subworkflowChanged: false,
      queueWaitTime: 79,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "2",
      },
      referenceTaskName: "switch_ref_1__3",
      retryCount: 0,
      seq: 33,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471926990,
      startTime: 1711471926990,
      endTime: 1711471926990,
      updateTime: 1711471926990,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e02e79a-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["2"],
        selectedCase: "2",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_new_dowhile_two_ref__3",
      retryCount: 0,
      seq: 34,
      pollCount: 1,
      taskDefName: "http_new_dowhile_two",
      scheduledTime: 1711471926986,
      startTime: 1711471927070,
      endTime: 1711471927079,
      updateTime: 1711471927070,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e03f90b-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 5889,
            hostName: "orkes-api-sampler-67dfc8cf58-sts78",
            randomString: "vqqjoysaxxifvnzsrgdf",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_new_dowhile_two",
        taskReferenceName: "http_new_dowhile_two_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 3,
      subworkflowChanged: false,
      queueWaitTime: 84,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref_1__4",
      retryCount: 0,
      seq: 35,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471927102,
      startTime: 1711471927102,
      endTime: 1711471927102,
      updateTime: 1711471927102,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e13b07c-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_new_dowhile_one_ref__4",
      retryCount: 0,
      seq: 36,
      pollCount: 1,
      taskDefName: "http_new_dowhile_one",
      scheduledTime: 1711471927097,
      startTime: 1711471927179,
      endTime: 1711471927189,
      updateTime: 1711471927179,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e14e8fd-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 3285,
            hostName: "orkes-api-sampler-67dfc8cf58-7l8kb",
            randomString: "omiwzhgmfgecamejmqnw",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_new_dowhile_one",
        taskReferenceName: "http_new_dowhile_one_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 4,
      subworkflowChanged: false,
      queueWaitTime: 82,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "4",
      },
      referenceTaskName: "switch_ref_1__5",
      retryCount: 0,
      seq: 37,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471927214,
      startTime: 1711471927214,
      endTime: 1711471927214,
      updateTime: 1711471927214,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e24a06e-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["4"],
        selectedCase: "4",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 5,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_new_dowhile_one_ref__5",
      retryCount: 0,
      seq: 38,
      pollCount: 1,
      taskDefName: "http_new_dowhile_one",
      scheduledTime: 1711471927210,
      startTime: 1711471927291,
      endTime: 1711471927306,
      updateTime: 1711471927291,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e25ffff-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["181"],
            Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 379,
            hostName: "orkes-api-sampler-67dfc8cf58-jk6kd",
            randomString: "vqbajywpvhuofzyaqukp",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_new_dowhile_one",
        taskReferenceName: "http_new_dowhile_one_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 5,
      subworkflowChanged: false,
      queueWaitTime: 81,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "1",
      },
      referenceTaskName: "switch_ref_1__6",
      retryCount: 0,
      seq: 39,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471927364,
      startTime: 1711471927364,
      endTime: 1711471927364,
      updateTime: 1711471927364,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e3653b0-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["1"],
        selectedCase: "1",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 6,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_new_dowhile_one_ref__6",
      retryCount: 0,
      seq: 40,
      pollCount: 1,
      taskDefName: "http_new_dowhile_one",
      scheduledTime: 1711471927358,
      startTime: 1711471927407,
      endTime: 1711471927426,
      updateTime: 1711471927407,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e3cbc51-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 2130,
            hostName: "orkes-api-sampler-67dfc8cf58-dcsmz",
            randomString: "luiyzqmpzmqcyfrwaxht",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_new_dowhile_one",
        taskReferenceName: "http_new_dowhile_one_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 6,
      subworkflowChanged: false,
      queueWaitTime: 49,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref_1__7",
      retryCount: 0,
      seq: 41,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471927471,
      startTime: 1711471927471,
      endTime: 1711471927471,
      updateTime: 1711471927471,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e496682-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_1__7",
      retryCount: 0,
      seq: 42,
      pollCount: 1,
      taskDefName: "http_1",
      scheduledTime: 1711471927465,
      startTime: 1711471927518,
      endTime: 1711471927527,
      updateTime: 1711471927518,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e4d1003-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 9020,
            hostName: "orkes-api-sampler-67dfc8cf58-xsh5s",
            randomString: "hdnsxoswwdzjhqrzpegq",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_1",
        taskReferenceName: "http_ref_1",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 7,
      subworkflowChanged: false,
      queueWaitTime: 53,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "SWITCH",
      status: "COMPLETED",
      inputData: {
        hasChildren: "true",
        switchCaseValue: "",
        _createdBy: "najeeb.thangal@orkes.io",
        case: "3",
      },
      referenceTaskName: "switch_ref_1__8",
      retryCount: 0,
      seq: 43,
      pollCount: 0,
      taskDefName: "SWITCH",
      scheduledTime: 1711471927551,
      startTime: 1711471927551,
      endTime: 1711471927551,
      updateTime: 1711471927551,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e580c84-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      outputData: {
        evaluationResult: ["3"],
        selectedCase: "3",
      },
      workflowTask: {
        name: "switch_1",
        taskReferenceName: "switch_ref_1",
        inputParameters: {
          switchCaseValue: "",
        },
        type: "SWITCH",
        decisionCases: {
          2: [
            {
              name: "http_new_dowhile_two",
              taskReferenceName: "http_new_dowhile_two_ref",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          3: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
        },
        defaultCase: [
          {
            name: "http_new_dowhile_one",
            taskReferenceName: "http_new_dowhile_one_ref",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        evaluatorType: "graaljs",
        expression:
          "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      queueWaitTime: 0,
      loopOverTask: true,
      taskDefinition: null,
    },
    {
      taskType: "HTTP",
      status: "COMPLETED",
      inputData: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        _createdBy: "najeeb.thangal@orkes.io",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      referenceTaskName: "http_ref_1__8",
      retryCount: 0,
      seq: 44,
      pollCount: 1,
      taskDefName: "http_1",
      scheduledTime: 1711471927543,
      startTime: 1711471927627,
      endTime: 1711471927636,
      updateTime: 1711471927627,
      startDelayInSeconds: 0,
      retried: false,
      executed: true,
      callbackFromWorker: true,
      responseTimeoutSeconds: 0,
      workflowInstanceId: "2cd515d9-eb91-11ee-8b0a-0e6876359850",
      workflowType: "doWhileExample-test-multi-dowhile",
      taskId: "2e58f6e5-eb91-11ee-8b0a-0e6876359850",
      callbackAfterSeconds: 0,
      workerId: "orkes-workers-deployment-7d46b7c7b5-m5hcf",
      outputData: {
        response: {
          headers: {
            "Strict-Transport-Security": [
              "max-age=15724800; includeSubDomains",
            ],
            Connection: ["keep-alive"],
            "Content-Length": ["182"],
            Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
            "Content-Type": ["application/json"],
          },
          reasonPhrase: "OK",
          body: {
            randomInt: 6546,
            hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
            randomString: "tunauwsfdcbqgktnoayp",
            queryParams: {},
            sleepFor: "0 ms",
            apiRandomDelay: "0 ms",
            statusCode: "200",
          },
          statusCode: 200,
        },
      },
      workflowTask: {
        name: "http_1",
        taskReferenceName: "http_ref_1",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      rateLimitPerFrequency: 0,
      rateLimitFrequencyInSeconds: 0,
      workflowPriority: 0,
      iteration: 8,
      subworkflowChanged: false,
      queueWaitTime: 84,
      loopOverTask: true,
      taskDefinition: null,
    },
  ],
  input: {},
  output: {
    response: {
      headers: {
        "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
        Connection: ["keep-alive"],
        "Content-Length": ["182"],
        Date: ["Tue, 26 Mar 2024 16:52:07 GMT"],
        "Content-Type": ["application/json"],
      },
      reasonPhrase: "OK",
      body: {
        randomInt: 6546,
        hostName: "orkes-api-sampler-67dfc8cf58-ktrql",
        randomString: "tunauwsfdcbqgktnoayp",
        queryParams: {},
        sleepFor: "0 ms",
        apiRandomDelay: "0 ms",
        statusCode: "200",
      },
      statusCode: 200,
    },
  },
  taskToDomain: {},
  failedReferenceTaskNames: [],
  workflowDefinition: {
    name: "doWhileExample-test-multi-dowhile",
    description: "DoWhile",
    version: 1,
    tasks: [
      {
        name: "http_first",
        taskReferenceName: "http_ref_first",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      {
        name: "do_while",
        taskReferenceName: "do_while_ref",
        inputParameters: {
          number: 10,
        },
        type: "DO_WHILE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopCondition:
          "(function () {\nif ($.do_while_ref['iteration'] < $.number) {\nreturn true;\n}\nreturn false;\n})();",
        loopOver: [
          {
            name: "switch",
            taskReferenceName: "switch_ref",
            inputParameters: {
              "": "",
            },
            type: "SWITCH",
            decisionCases: {
              2: [
                {
                  name: "http_third",
                  taskReferenceName: "http_third_ref",
                  inputParameters: {
                    method: "GET",
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_cool",
                  taskReferenceName: "http_ref_cool",
                  inputParameters: {
                    method: "GET",
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              3: [
                {
                  name: "http_five",
                  taskReferenceName: "http_ref_five",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
            },
            defaultCase: [
              {
                name: "http_second",
                taskReferenceName: "http_second_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
              {
                name: "http_four",
                taskReferenceName: "http_ref_four_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            evaluatorType: "graaljs",
            expression:
              "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
            onStateChange: {},
          },
        ],
        evaluatorType: "graaljs",
        onStateChange: {},
      },
      {
        name: "http_last",
        taskReferenceName: "http_last_ref",
        inputParameters: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        type: "HTTP",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopOver: [],
        onStateChange: {},
      },
      {
        name: "do_while_1",
        taskReferenceName: "do_while_ref_1",
        inputParameters: {
          number: "8",
        },
        type: "DO_WHILE",
        decisionCases: {},
        defaultCase: [],
        forkTasks: [],
        startDelay: 0,
        joinOn: [],
        optional: false,
        rateLimited: false,
        defaultExclusiveJoinTask: [],
        asyncComplete: false,
        loopCondition:
          "(function () {\nif ($.do_while_ref_1['iteration'] < $.number) {\nreturn true;\n}\nreturn false;\n})();",
        loopOver: [
          {
            name: "switch_1",
            taskReferenceName: "switch_ref_1",
            inputParameters: {
              switchCaseValue: "",
            },
            type: "SWITCH",
            decisionCases: {
              2: [
                {
                  name: "http_new_dowhile_two",
                  taskReferenceName: "http_new_dowhile_two_ref",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              3: [
                {
                  name: "http_1",
                  taskReferenceName: "http_ref_1",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
            },
            defaultCase: [
              {
                name: "http_new_dowhile_one",
                taskReferenceName: "http_new_dowhile_one_ref",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            evaluatorType: "graaljs",
            expression:
              "(function () {\n   const number = Math.floor(Math.random() * (4 - 1 + 1)) + 1;\n  return number;\n  }())",
            onStateChange: {},
          },
        ],
        evaluatorType: "graaljs",
        onStateChange: {},
      },
    ],
    inputParameters: [],
    outputParameters: {},
    schemaVersion: 2,
    restartable: true,
    workflowStatusListenerEnabled: false,
    ownerEmail: "najeeb.thangal@orkes.io",
    timeoutPolicy: "ALERT_ONLY",
    timeoutSeconds: 0,
    variables: {},
    inputTemplate: {},
    rateLimitConfig: {
      rateLimitKey: "",
      concurrentExecLimit: 0,
    },
  },
  priority: 0,
  variables: {},
  lastRetriedTime: 0,
  history: [],
  idempotencyKey: "",
  rateLimited: false,
  startTime: 1711471925001,
  workflowName: "doWhileExample-test-multi-dowhile",
  workflowVersion: 1,
};

export const sampleStatusMap = {
  http_ref: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref",
    retryCount: 0,
    seq: 1,
    pollCount: 1,
    taskDefName: "http",
    scheduledTime: 1713413856786,
    startTime: 1713413856891,
    endTime: 1713413856963,
    updateTime: 1713413856891,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "965fb8d9-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:36 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 8678,
          hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
          randomString: "mmxpwylvytawptmkxykq",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http",
      taskReferenceName: "http_ref",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 105,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref",
        retryCount: 0,
        seq: 1,
        pollCount: 1,
        taskDefName: "http",
        scheduledTime: 1713413856786,
        startTime: 1713413856891,
        endTime: 1713413856963,
        updateTime: 1713413856891,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "965fb8d9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:36 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8678,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "mmxpwylvytawptmkxykq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http",
          taskReferenceName: "http_ref",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 105,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
  do_while_ref: {
    taskType: "DO_WHILE",
    status: "COMPLETED",
    inputData: {
      number: 10,
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "do_while_ref",
    retryCount: 0,
    seq: 2,
    pollCount: 0,
    taskDefName: "do_while",
    scheduledTime: 1713413856971,
    startTime: 1713413856971,
    endTime: 1713413859275,
    updateTime: 1713413859060,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "967bcc5a-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      1: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["180"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 47,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "vxqmzdyagxmexnpbaiqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7523,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "rzlozabxrltfkexdijot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      2: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 633,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "pnnnyucqifmchdazstau",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9295,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "bgnycyjkhkdmiqsnjpcm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      3: {
        http_ref_1: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5570,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "sxopfwobgmlbyhectkue",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 3,
        },
        switch_ref: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1008,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "drzushsnuxfkfbxjqvfh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      4: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3964,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qsrrgcyapbgeuoceizaa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6761,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "taupmlrpyhpzpsulaxqo",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      5: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 698,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "aobgjizxlwgiwdasfclh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6970,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "igwwnykfobqdnkxmafab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      6: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2489,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "vbksjctcduvxcucqtykv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8930,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "purhjvrqkogxpcyjifxv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      7: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 970,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "abxkbgqcvgvqnxjcishg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5965,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "cozkeartchukblaomchw",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      8: {
        http_ref_1: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5144,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ffeeyciploflvzcqtrsc",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 3,
        },
        switch_ref: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9726,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qmkipozchmypxunkkkzd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      9: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1122,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "qixyannkpllogxldfyqi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2780,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "jklxzsbanazwjffbarxi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      10: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7706,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "wadmrkumznvlcrfbfpoz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 944,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "piubltpqkibleiqpmeno",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      iteration: 10,
    },
    workflowTask: {
      name: "do_while",
      taskReferenceName: "do_while_ref",
      inputParameters: {
        number: 10,
      },
      type: "DO_WHILE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopCondition:
        "(function () {\n  if ($.do_while_ref['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
      loopOver: [
        {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      evaluatorType: "graaljs",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 1,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "DO_WHILE",
        status: "COMPLETED",
        inputData: {
          number: 10,
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "do_while_ref",
        retryCount: 0,
        seq: 2,
        pollCount: 0,
        taskDefName: "do_while",
        scheduledTime: 1713413856971,
        startTime: 1713413856971,
        endTime: 1713413859275,
        updateTime: 1713413859060,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "967bcc5a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          1: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["180"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 47,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "vxqmzdyagxmexnpbaiqd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7523,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "rzlozabxrltfkexdijot",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          2: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 633,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "pnnnyucqifmchdazstau",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9295,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "bgnycyjkhkdmiqsnjpcm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          3: {
            http_ref_1: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5570,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "sxopfwobgmlbyhectkue",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 3,
            },
            switch_ref: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1008,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "drzushsnuxfkfbxjqvfh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          4: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3964,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "qsrrgcyapbgeuoceizaa",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 6761,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "taupmlrpyhpzpsulaxqo",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          5: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 698,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "aobgjizxlwgiwdasfclh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 6970,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "igwwnykfobqdnkxmafab",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          6: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2489,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "vbksjctcduvxcucqtykv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8930,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "purhjvrqkogxpcyjifxv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          7: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 970,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "abxkbgqcvgvqnxjcishg",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5965,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "cozkeartchukblaomchw",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          8: {
            http_ref_1: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5144,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "ffeeyciploflvzcqtrsc",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 3,
            },
            switch_ref: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9726,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "qmkipozchmypxunkkkzd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          9: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1122,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "qixyannkpllogxldfyqi",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2780,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "jklxzsbanazwjffbarxi",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          10: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7706,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "wadmrkumznvlcrfbfpoz",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 944,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "piubltpqkibleiqpmeno",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          iteration: 10,
        },
        workflowTask: {
          name: "do_while",
          taskReferenceName: "do_while_ref",
          inputParameters: {
            number: 10,
          },
          type: "DO_WHILE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopCondition:
            "(function () {\n  if ($.do_while_ref['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
          loopOver: [
            {
              name: "inline",
              taskReferenceName: "inline_ref",
              inputParameters: {
                evaluatorType: "graaljs",
                expression:
                  "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
              },
              type: "INLINE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "switch",
              taskReferenceName: "switch_ref",
              inputParameters: {
                switchCaseValue: "${inline_ref.output.result}",
              },
              type: "SWITCH",
              decisionCases: {
                1: [
                  {
                    name: "http_3",
                    taskReferenceName: "http_ref_3",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
                2: [
                  {
                    name: "http_2",
                    taskReferenceName: "http_ref_2",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
              },
              defaultCase: [
                {
                  name: "http_1",
                  taskReferenceName: "http_ref_1",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              evaluatorType: "value-param",
              expression: "switchCaseValue",
              onStateChange: {},
            },
            {
              name: "http_10",
              taskReferenceName: "http_ref_10",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          evaluatorType: "graaljs",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  inline_ref: {
    taskType: "INLINE",
    status: "COMPLETED",
    inputData: {
      evaluatorType: "graaljs",
      expression:
        "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "inline_ref__10",
    retryCount: 0,
    seq: 39,
    pollCount: 0,
    taskDefName: "inline",
    scheduledTime: 1713413859056,
    startTime: 1713413859056,
    endTime: 1713413859075,
    updateTime: 1713413859056,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97b9cabf-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      result: 2,
    },
    workflowTask: {
      name: "inline",
      taskReferenceName: "inline_ref",
      inputParameters: {
        evaluatorType: "graaljs",
        expression:
          "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
      },
      type: "INLINE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__1",
        retryCount: 0,
        seq: 3,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413856975,
        startTime: 1713413856975,
        endTime: 1713413857004,
        updateTime: 1713413856975,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "967c418b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__2",
        retryCount: 0,
        seq: 7,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857247,
        startTime: 1713413857247,
        endTime: 1713413857262,
        updateTime: 1713413857247,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a5e99f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__3",
        retryCount: 0,
        seq: 11,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857465,
        startTime: 1713413857465,
        endTime: 1713413857480,
        updateTime: 1713413857465,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96c70633-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__4",
        retryCount: 0,
        seq: 15,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857687,
        startTime: 1713413857687,
        endTime: 1713413857702,
        updateTime: 1713413857687,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96e90d27-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__5",
        retryCount: 0,
        seq: 19,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857930,
        startTime: 1713413857930,
        endTime: 1713413857945,
        updateTime: 1713413857930,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "970e215b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__6",
        retryCount: 0,
        seq: 23,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858154,
        startTime: 1713413858154,
        endTime: 1713413858196,
        updateTime: 1713413858154,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97304f5f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__7",
        retryCount: 0,
        seq: 27,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858383,
        startTime: 1713413858383,
        endTime: 1713413858402,
        updateTime: 1713413858383,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "975319a3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__8",
        retryCount: 0,
        seq: 31,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858598,
        startTime: 1713413858598,
        endTime: 1713413858615,
        updateTime: 1713413858598,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9773e817-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__9",
        retryCount: 0,
        seq: 35,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858836,
        startTime: 1713413858836,
        endTime: 1713413858852,
        updateTime: 1713413858836,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979811eb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__10",
        retryCount: 0,
        seq: 39,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413859056,
        startTime: 1713413859056,
        endTime: 1713413859075,
        updateTime: 1713413859056,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97b9cabf-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  switch_ref: {
    taskType: "SWITCH",
    status: "COMPLETED",
    inputData: {
      hasChildren: "true",
      switchCaseValue: 2,
      _createdBy: "najeeb.thangal@orkes.io",
      case: "2",
    },
    referenceTaskName: "switch_ref__10",
    retryCount: 0,
    seq: 40,
    pollCount: 0,
    taskDefName: "SWITCH",
    scheduledTime: 1713413859083,
    startTime: 1713413859083,
    endTime: 1713413859083,
    updateTime: 1713413859083,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97bd7440-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      evaluationResult: ["2"],
      selectedCase: "2",
    },
    workflowTask: {
      name: "switch",
      taskReferenceName: "switch_ref",
      inputParameters: {
        switchCaseValue: "${inline_ref.output.result}",
      },
      type: "SWITCH",
      decisionCases: {
        1: [
          {
            name: "http_3",
            taskReferenceName: "http_ref_3",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        2: [
          {
            name: "http_2",
            taskReferenceName: "http_ref_2",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
      },
      defaultCase: [
        {
          name: "http_1",
          taskReferenceName: "http_ref_1",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      evaluatorType: "value-param",
      expression: "switchCaseValue",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__1",
        retryCount: 0,
        seq: 4,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857015,
        startTime: 1713413857015,
        endTime: 1713413857015,
        updateTime: 1713413857015,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "968171ac-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__2",
        retryCount: 0,
        seq: 8,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857270,
        startTime: 1713413857270,
        endTime: 1713413857270,
        updateTime: 1713413857270,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a8f6e0-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref__3",
        retryCount: 0,
        seq: 12,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857488,
        startTime: 1713413857488,
        endTime: 1713413857488,
        updateTime: 1713413857488,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ca3a84-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__4",
        retryCount: 0,
        seq: 16,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857710,
        startTime: 1713413857711,
        endTime: 1713413857711,
        updateTime: 1713413857711,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ebf358-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 1,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__5",
        retryCount: 0,
        seq: 20,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857953,
        startTime: 1713413857953,
        endTime: 1713413857953,
        updateTime: 1713413857953,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97112e9c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__6",
        retryCount: 0,
        seq: 24,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858204,
        startTime: 1713413858204,
        endTime: 1713413858204,
        updateTime: 1713413858204,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97377b50-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__7",
        retryCount: 0,
        seq: 28,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858412,
        startTime: 1713413858412,
        endTime: 1713413858412,
        updateTime: 1713413858412,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97571144-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref__8",
        retryCount: 0,
        seq: 32,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858625,
        startTime: 1713413858625,
        endTime: 1713413858625,
        updateTime: 1713413858625,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97779198-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__9",
        retryCount: 0,
        seq: 36,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858864,
        startTime: 1713413858864,
        endTime: 1713413858864,
        updateTime: 1713413858864,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979c098c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__10",
        retryCount: 0,
        seq: 40,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859083,
        startTime: 1713413859083,
        endTime: 1713413859083,
        updateTime: 1713413859083,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97bd7440-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_3: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_3__9",
    retryCount: 0,
    seq: 37,
    pollCount: 1,
    taskDefName: "http_3",
    scheduledTime: 1713413858858,
    startTime: 1713413858917,
    endTime: 1713413858928,
    updateTime: 1713413858917,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "979c098d-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 1122,
          hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
          randomString: "qixyannkpllogxldfyqi",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_3",
      taskReferenceName: "http_ref_3",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 9,
    subworkflowChanged: false,
    queueWaitTime: 59,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__1",
        retryCount: 0,
        seq: 5,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857007,
        startTime: 1713413857108,
        endTime: 1713413857122,
        updateTime: 1713413857108,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "968171ad-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["180"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 47,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "vxqmzdyagxmexnpbaiqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 101,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__4",
        retryCount: 0,
        seq: 17,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857705,
        startTime: 1713413857770,
        endTime: 1713413857805,
        updateTime: 1713413857770,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ec1a69-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3964,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qsrrgcyapbgeuoceizaa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 65,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__5",
        retryCount: 0,
        seq: 21,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857948,
        startTime: 1713413858015,
        endTime: 1713413858027,
        updateTime: 1713413858015,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97112e9d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 698,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "aobgjizxlwgiwdasfclh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 67,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__6",
        retryCount: 0,
        seq: 25,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413858199,
        startTime: 1713413858238,
        endTime: 1713413858249,
        updateTime: 1713413858238,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97377b51-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2489,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "vbksjctcduvxcucqtykv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 39,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__9",
        retryCount: 0,
        seq: 37,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413858858,
        startTime: 1713413858917,
        endTime: 1713413858928,
        updateTime: 1713413858917,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979c098d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1122,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "qixyannkpllogxldfyqi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 59,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_10: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_10__10",
    retryCount: 0,
    seq: 42,
    pollCount: 1,
    taskDefName: "http_10",
    scheduledTime: 1713413859158,
    startTime: 1713413859250,
    endTime: 1713413859260,
    updateTime: 1713413859250,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97c9d052-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["181"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 944,
          hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
          randomString: "piubltpqkibleiqpmeno",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_10",
      taskReferenceName: "http_ref_10",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 92,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__1",
        retryCount: 0,
        seq: 6,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857128,
        startTime: 1713413857218,
        endTime: 1713413857230,
        updateTime: 1713413857218,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9693e83e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7523,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "rzlozabxrltfkexdijot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 90,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__2",
        retryCount: 0,
        seq: 10,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857348,
        startTime: 1713413857439,
        endTime: 1713413857451,
        updateTime: 1713413857439,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96b5a112-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9295,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "bgnycyjkhkdmiqsnjpcm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 91,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__3",
        retryCount: 0,
        seq: 14,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857567,
        startTime: 1713413857659,
        endTime: 1713413857671,
        updateTime: 1713413857659,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96d70bc6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1008,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "drzushsnuxfkfbxjqvfh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__4",
        retryCount: 0,
        seq: 18,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857810,
        startTime: 1713413857904,
        endTime: 1713413857915,
        updateTime: 1713413857904,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96fc1ffa-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6761,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "taupmlrpyhpzpsulaxqo",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__5",
        retryCount: 0,
        seq: 22,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858034,
        startTime: 1713413858126,
        endTime: 1713413858139,
        updateTime: 1713413858126,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "971e4dfe-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6970,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "igwwnykfobqdnkxmafab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__6",
        retryCount: 0,
        seq: 26,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858256,
        startTime: 1713413858349,
        endTime: 1713413858361,
        updateTime: 1713413858349,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97402de2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8930,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "purhjvrqkogxpcyjifxv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__7",
        retryCount: 0,
        seq: 30,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858478,
        startTime: 1713413858571,
        endTime: 1713413858583,
        updateTime: 1713413858571,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97620dc6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5965,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "cozkeartchukblaomchw",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__8",
        retryCount: 0,
        seq: 34,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858712,
        startTime: 1713413858806,
        endTime: 1713413858818,
        updateTime: 1713413858806,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9785c26a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9726,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qmkipozchmypxunkkkzd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__9",
        retryCount: 0,
        seq: 38,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858936,
        startTime: 1713413859029,
        endTime: 1713413859040,
        updateTime: 1713413859029,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97a7c95e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2780,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "jklxzsbanazwjffbarxi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__10",
        retryCount: 0,
        seq: 42,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413859158,
        startTime: 1713413859250,
        endTime: 1713413859260,
        updateTime: 1713413859250,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97c9d052-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 944,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "piubltpqkibleiqpmeno",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_2: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_2__10",
    retryCount: 0,
    seq: 41,
    pollCount: 1,
    taskDefName: "http_2",
    scheduledTime: 1713413859078,
    startTime: 1713413859140,
    endTime: 1713413859152,
    updateTime: 1713413859140,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97bd7441-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 7706,
          hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
          randomString: "wadmrkumznvlcrfbfpoz",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_2",
      taskReferenceName: "http_ref_2",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 62,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_2__2",
        retryCount: 0,
        seq: 9,
        pollCount: 1,
        taskDefName: "http_2",
        scheduledTime: 1713413857265,
        startTime: 1713413857328,
        endTime: 1713413857341,
        updateTime: 1713413857329,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a8f6e1-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 633,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "pnnnyucqifmchdazstau",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_2",
          taskReferenceName: "http_ref_2",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 63,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_2__7",
        retryCount: 0,
        seq: 29,
        pollCount: 1,
        taskDefName: "http_2",
        scheduledTime: 1713413858406,
        startTime: 1713413858460,
        endTime: 1713413858471,
        updateTime: 1713413858460,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97571145-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 970,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "abxkbgqcvgvqnxjcishg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_2",
          taskReferenceName: "http_ref_2",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 54,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_2__10",
        retryCount: 0,
        seq: 41,
        pollCount: 1,
        taskDefName: "http_2",
        scheduledTime: 1713413859078,
        startTime: 1713413859140,
        endTime: 1713413859152,
        updateTime: 1713413859140,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97bd7441-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7706,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "wadmrkumznvlcrfbfpoz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_2",
          taskReferenceName: "http_ref_2",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 62,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_1: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_1__8",
    retryCount: 0,
    seq: 33,
    pollCount: 1,
    taskDefName: "http_1",
    scheduledTime: 1713413858620,
    startTime: 1713413858694,
    endTime: 1713413858705,
    updateTime: 1713413858694,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97779199-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 5144,
          hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
          randomString: "ffeeyciploflvzcqtrsc",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_1",
      taskReferenceName: "http_ref_1",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 8,
    subworkflowChanged: false,
    queueWaitTime: 74,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_1__3",
        retryCount: 0,
        seq: 13,
        pollCount: 1,
        taskDefName: "http_1",
        scheduledTime: 1713413857483,
        startTime: 1713413857549,
        endTime: 1713413857561,
        updateTime: 1713413857549,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ca3a85-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5570,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "sxopfwobgmlbyhectkue",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_1",
          taskReferenceName: "http_ref_1",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 66,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_1__8",
        retryCount: 0,
        seq: 33,
        pollCount: 1,
        taskDefName: "http_1",
        scheduledTime: 1713413858620,
        startTime: 1713413858694,
        endTime: 1713413858705,
        updateTime: 1713413858694,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97779199-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5144,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ffeeyciploflvzcqtrsc",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_1",
          taskReferenceName: "http_ref_1",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 74,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_4: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_4",
    retryCount: 0,
    seq: 43,
    pollCount: 1,
    taskDefName: "http_4",
    scheduledTime: 1713413859277,
    startTime: 1713413859361,
    endTime: 1713413859373,
    updateTime: 1713413859361,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97dbf8c3-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 5081,
          hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
          randomString: "yfxgvcpjtxnjlftbtcpr",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_4",
      taskReferenceName: "http_ref_4",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 84,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_4",
        retryCount: 0,
        seq: 43,
        pollCount: 1,
        taskDefName: "http_4",
        scheduledTime: 1713413859277,
        startTime: 1713413859361,
        endTime: 1713413859373,
        updateTime: 1713413859361,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97dbf8c3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5081,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "yfxgvcpjtxnjlftbtcpr",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_4",
          taskReferenceName: "http_ref_4",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 84,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
  do_while_ref_1: {
    taskType: "DO_WHILE",
    status: "COMPLETED",
    inputData: {
      number: 10,
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "do_while_ref_1",
    retryCount: 0,
    seq: 44,
    pollCount: 0,
    taskDefName: "do_while_1",
    scheduledTime: 1713413859382,
    startTime: 1713413859382,
    endTime: 1713413862160,
    updateTime: 1713413861832,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97eb8924-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      1: {
        switch_ref_1: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        inline_ref_1: {
          result: 2,
        },
        http_ref_7: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9943,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "tjxztrsclyzabbqspjmv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9428,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "lwfynuupwbgkcwgqemcs",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      2: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3723,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "kjmdqmvozujqsxupnlot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 154,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "obdruesgtvezidzuenhu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1892,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "heqrbsinaexemndlvmcp",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      3: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7080,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "cuurineeimzdpveetkte",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9931,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "ktrbhjusvnttizwmopxg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3569,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "rbeetiujrcnurymrqpvl",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      4: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8155,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "tniyursobyqwmcgnfxcj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5254,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "fqlewtggkleyvghxoyqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7061,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "ixireilwipqxtseivuxm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      5: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5878,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "bksldazxfxhyoyefvrxf",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2932,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "djokkjixbuwxlsstoaab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9316,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "dytnpkdddlzmtzlwfpal",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      6: {
        switch_ref_1: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        inline_ref_1: {
          result: 4,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4089,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "khrlsfsjmhvsjgtshbfz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      7: {
        switch_ref_1: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        inline_ref_1: {
          result: 4,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8433,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "nwltborbttslioxepwhe",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      8: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 242,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "idkvujpflbawjvbtcqol",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5914,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "sccygcowawimarjtitnq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2173,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "saxapbpahdmmtpavvjlm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      9: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4359,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "lmbrmrnefvkwwwbmvolm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 395,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "myxiwwnhjbxhdwkfwmzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2885,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ykuzzhmdpvfcragcwxoh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      10: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4274,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "kwmoumdlucxuwgphkxaj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5175,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "enhhdgrjmtgntufhymzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4750,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "oeenqbhrzifhhetyzpcu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      iteration: 10,
    },
    workflowTask: {
      name: "do_while_1",
      taskReferenceName: "do_while_ref_1",
      inputParameters: {
        number: 10,
      },
      type: "DO_WHILE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopCondition:
        "(function () {\n  if ($.do_while_ref_1['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
      loopOver: [
        {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      evaluatorType: "graaljs",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 1,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "DO_WHILE",
        status: "COMPLETED",
        inputData: {
          number: 10,
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "do_while_ref_1",
        retryCount: 0,
        seq: 44,
        pollCount: 0,
        taskDefName: "do_while_1",
        scheduledTime: 1713413859382,
        startTime: 1713413859382,
        endTime: 1713413862160,
        updateTime: 1713413861832,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97eb8924-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          1: {
            switch_ref_1: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            inline_ref_1: {
              result: 2,
            },
            http_ref_7: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9943,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "tjxztrsclyzabbqspjmv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9428,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "lwfynuupwbgkcwgqemcs",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          2: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3723,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "kjmdqmvozujqsxupnlot",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 154,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "obdruesgtvezidzuenhu",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1892,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "heqrbsinaexemndlvmcp",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          3: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7080,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "cuurineeimzdpveetkte",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9931,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "ktrbhjusvnttizwmopxg",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3569,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "rbeetiujrcnurymrqpvl",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          4: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8155,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "tniyursobyqwmcgnfxcj",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5254,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "fqlewtggkleyvghxoyqd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7061,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "ixireilwipqxtseivuxm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          5: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5878,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "bksldazxfxhyoyefvrxf",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2932,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "djokkjixbuwxlsstoaab",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9316,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "dytnpkdddlzmtzlwfpal",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          6: {
            switch_ref_1: {
              evaluationResult: ["4"],
              selectedCase: "4",
            },
            inline_ref_1: {
              result: 4,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4089,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "khrlsfsjmhvsjgtshbfz",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          7: {
            switch_ref_1: {
              evaluationResult: ["4"],
              selectedCase: "4",
            },
            inline_ref_1: {
              result: 4,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8433,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "nwltborbttslioxepwhe",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          8: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 242,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "idkvujpflbawjvbtcqol",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5914,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "sccygcowawimarjtitnq",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2173,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "saxapbpahdmmtpavvjlm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          9: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4359,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "lmbrmrnefvkwwwbmvolm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 395,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "myxiwwnhjbxhdwkfwmzm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2885,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "ykuzzhmdpvfcragcwxoh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          10: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4274,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "kwmoumdlucxuwgphkxaj",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5175,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "enhhdgrjmtgntufhymzm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4750,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "oeenqbhrzifhhetyzpcu",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          iteration: 10,
        },
        workflowTask: {
          name: "do_while_1",
          taskReferenceName: "do_while_ref_1",
          inputParameters: {
            number: 10,
          },
          type: "DO_WHILE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopCondition:
            "(function () {\n  if ($.do_while_ref_1['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
          loopOver: [
            {
              name: "inline_1",
              taskReferenceName: "inline_ref_1",
              inputParameters: {
                evaluatorType: "graaljs",
                expression:
                  "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
              },
              type: "INLINE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "switch_1",
              taskReferenceName: "switch_ref_1",
              inputParameters: {
                switchCaseValue: "${inline_ref_1.output.result}",
              },
              type: "SWITCH",
              decisionCases: {
                2: [
                  {
                    name: "http_7",
                    taskReferenceName: "http_ref_7",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
                4: [],
              },
              defaultCase: [
                {
                  name: "http_5",
                  taskReferenceName: "http_ref_5",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_6",
                  taskReferenceName: "http_ref_6",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              evaluatorType: "value-param",
              expression: "switchCaseValue",
              onStateChange: {},
            },
            {
              name: "http_8",
              taskReferenceName: "http_ref_8",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          evaluatorType: "graaljs",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  inline_ref_1: {
    taskType: "INLINE",
    status: "COMPLETED",
    inputData: {
      evaluatorType: "graaljs",
      expression:
        "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "inline_ref_1__10",
    retryCount: 0,
    seq: 85,
    pollCount: 0,
    taskDefName: "inline_1",
    scheduledTime: 1713413861829,
    startTime: 1713413861829,
    endTime: 1713413861842,
    updateTime: 1713413861829,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9960760d-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      result: 3,
    },
    workflowTask: {
      name: "inline_1",
      taskReferenceName: "inline_ref_1",
      inputParameters: {
        evaluatorType: "graaljs",
        expression:
          "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
      },
      type: "INLINE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__1",
        retryCount: 0,
        seq: 45,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859386,
        startTime: 1713413859386,
        endTime: 1713413859402,
        updateTime: 1713413859386,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97ec2565-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__2",
        retryCount: 0,
        seq: 49,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859617,
        startTime: 1713413859617,
        endTime: 1713413859629,
        updateTime: 1713413859617,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "980f64d9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__3",
        retryCount: 0,
        seq: 54,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859945,
        startTime: 1713413859945,
        endTime: 1713413859959,
        updateTime: 1713413859945,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9841715e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__4",
        retryCount: 0,
        seq: 59,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860274,
        startTime: 1713413860274,
        endTime: 1713413860287,
        updateTime: 1713413860274,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9873a4f3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__5",
        retryCount: 0,
        seq: 64,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860607,
        startTime: 1713413860607,
        endTime: 1713413860621,
        updateTime: 1713413860607,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a69bd8-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__6",
        retryCount: 0,
        seq: 69,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860941,
        startTime: 1713413860941,
        endTime: 1713413860957,
        updateTime: 1713413860941,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98d96bad-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 4,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__7",
        retryCount: 0,
        seq: 72,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861052,
        startTime: 1713413861052,
        endTime: 1713413861070,
        updateTime: 1713413861052,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ea3490-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 4,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__8",
        retryCount: 0,
        seq: 75,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861161,
        startTime: 1713413861161,
        endTime: 1713413861175,
        updateTime: 1713413861161,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fafd73-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__9",
        retryCount: 0,
        seq: 80,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861496,
        startTime: 1713413861497,
        endTime: 1713413861510,
        updateTime: 1713413861497,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "992e4278-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 1,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__10",
        retryCount: 0,
        seq: 85,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861829,
        startTime: 1713413861829,
        endTime: 1713413861842,
        updateTime: 1713413861829,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9960760d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  switch_ref_1: {
    taskType: "SWITCH",
    status: "COMPLETED",
    inputData: {
      hasChildren: "true",
      switchCaseValue: 3,
      _createdBy: "najeeb.thangal@orkes.io",
      case: "3",
    },
    referenceTaskName: "switch_ref_1__10",
    retryCount: 0,
    seq: 86,
    pollCount: 0,
    taskDefName: "SWITCH",
    scheduledTime: 1713413861851,
    startTime: 1713413861851,
    endTime: 1713413861851,
    updateTime: 1713413861851,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9963d16e-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      evaluationResult: ["3"],
      selectedCase: "3",
    },
    workflowTask: {
      name: "switch_1",
      taskReferenceName: "switch_ref_1",
      inputParameters: {
        switchCaseValue: "${inline_ref_1.output.result}",
      },
      type: "SWITCH",
      decisionCases: {
        2: [
          {
            name: "http_7",
            taskReferenceName: "http_ref_7",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        4: [],
      },
      defaultCase: [
        {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      evaluatorType: "value-param",
      expression: "switchCaseValue",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref_1__1",
        retryCount: 0,
        seq: 46,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859413,
        startTime: 1713413859413,
        endTime: 1713413859413,
        updateTime: 1713413859413,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97ef80c6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__2",
        retryCount: 0,
        seq: 50,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859637,
        startTime: 1713413859637,
        endTime: 1713413859637,
        updateTime: 1713413859637,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9811fcea-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__3",
        retryCount: 0,
        seq: 55,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859968,
        startTime: 1713413859968,
        endTime: 1713413859968,
        updateTime: 1713413859968,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98447e9f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__4",
        retryCount: 0,
        seq: 60,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860295,
        startTime: 1713413860295,
        endTime: 1713413860295,
        updateTime: 1713413860295,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98768b24-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__5",
        retryCount: 0,
        seq: 65,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860629,
        startTime: 1713413860629,
        endTime: 1713413860629,
        updateTime: 1713413860629,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a98209-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          switchCaseValue: 4,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "4",
        },
        referenceTaskName: "switch_ref_1__6",
        retryCount: 0,
        seq: 70,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860963,
        startTime: 1713413860963,
        endTime: 1713413860963,
        updateTime: 1713413860963,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98dcc70e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          switchCaseValue: 4,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "4",
        },
        referenceTaskName: "switch_ref_1__7",
        retryCount: 0,
        seq: 73,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861076,
        startTime: 1713413861076,
        endTime: 1713413861076,
        updateTime: 1713413861076,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ee0521-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__8",
        retryCount: 0,
        seq: 76,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861183,
        startTime: 1713413861183,
        endTime: 1713413861183,
        updateTime: 1713413861183,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fe0ab4-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__9",
        retryCount: 0,
        seq: 81,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861520,
        startTime: 1713413861520,
        endTime: 1713413861520,
        updateTime: 1713413861520,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "993128a9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__10",
        retryCount: 0,
        seq: 86,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861851,
        startTime: 1713413861851,
        endTime: 1713413861851,
        updateTime: 1713413861851,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9963d16e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_7: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_7__1",
    retryCount: 0,
    seq: 47,
    pollCount: 1,
    taskDefName: "http_7",
    scheduledTime: 1713413859406,
    startTime: 1713413859472,
    endTime: 1713413859483,
    updateTime: 1713413859472,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97efa7d7-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 9943,
          hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
          randomString: "tjxztrsclyzabbqspjmv",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_7",
      taskReferenceName: "http_ref_7",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 66,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_7__1",
        retryCount: 0,
        seq: 47,
        pollCount: 1,
        taskDefName: "http_7",
        scheduledTime: 1713413859406,
        startTime: 1713413859472,
        endTime: 1713413859483,
        updateTime: 1713413859472,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97efa7d7-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9943,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "tjxztrsclyzabbqspjmv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_7",
          taskReferenceName: "http_ref_7",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 66,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_8: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_8__10",
    retryCount: 0,
    seq: 89,
    pollCount: 1,
    taskDefName: "http_8",
    scheduledTime: 1713413862045,
    startTime: 1713413862132,
    endTime: 1713413862145,
    updateTime: 1713413862132,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "998255f1-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 4274,
          hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
          randomString: "kwmoumdlucxuwgphkxaj",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_8",
      taskReferenceName: "http_ref_8",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 87,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__1",
        retryCount: 0,
        seq: 48,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413859490,
        startTime: 1713413859583,
        endTime: 1713413859594,
        updateTime: 1713413859583,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97fc7918-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9428,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "lwfynuupwbgkcwgqemcs",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__2",
        retryCount: 0,
        seq: 53,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413859823,
        startTime: 1713413859916,
        endTime: 1713413859927,
        updateTime: 1713413859916,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "982f48ed-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3723,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "kjmdqmvozujqsxupnlot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__3",
        retryCount: 0,
        seq: 58,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860156,
        startTime: 1713413860248,
        endTime: 1713413860259,
        updateTime: 1713413860248,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "986218c2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7080,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "cuurineeimzdpveetkte",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__4",
        retryCount: 0,
        seq: 63,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860487,
        startTime: 1713413860580,
        endTime: 1713413860592,
        updateTime: 1713413860580,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98949a77-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8155,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "tniyursobyqwmcgnfxcj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__5",
        retryCount: 0,
        seq: 68,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860819,
        startTime: 1713413860914,
        endTime: 1713413860925,
        updateTime: 1713413860914,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98c7433c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5878,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "bksldazxfxhyoyefvrxf",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 95,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__6",
        retryCount: 0,
        seq: 71,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860970,
        startTime: 1713413861025,
        endTime: 1713413861036,
        updateTime: 1713413861025,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98de269f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4089,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "khrlsfsjmhvsjgtshbfz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 55,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__7",
        retryCount: 0,
        seq: 74,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861082,
        startTime: 1713413861136,
        endTime: 1713413861147,
        updateTime: 1713413861136,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ef64b2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8433,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "nwltborbttslioxepwhe",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 54,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__8",
        retryCount: 0,
        seq: 79,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861375,
        startTime: 1713413861467,
        endTime: 1713413861478,
        updateTime: 1713413861467,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "991c1a07-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 242,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "idkvujpflbawjvbtcqol",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__9",
        retryCount: 0,
        seq: 84,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861704,
        startTime: 1713413861798,
        endTime: 1713413861810,
        updateTime: 1713413861798,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "994e4d9c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4359,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "lmbrmrnefvkwwwbmvolm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__10",
        retryCount: 0,
        seq: 89,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413862045,
        startTime: 1713413862132,
        endTime: 1713413862145,
        updateTime: 1713413862132,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "998255f1-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4274,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "kwmoumdlucxuwgphkxaj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 87,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_5: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_5__10",
    retryCount: 0,
    seq: 87,
    pollCount: 1,
    taskDefName: "http_5",
    scheduledTime: 1713413861845,
    startTime: 1713413861911,
    endTime: 1713413861920,
    updateTime: 1713413861911,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9963d16f-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 5175,
          hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
          randomString: "enhhdgrjmtgntufhymzm",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_5",
      taskReferenceName: "http_ref_5",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 66,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__2",
        retryCount: 0,
        seq: 51,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413859632,
        startTime: 1713413859695,
        endTime: 1713413859706,
        updateTime: 1713413859695,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "981223fb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 154,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "obdruesgtvezidzuenhu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 63,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__3",
        retryCount: 0,
        seq: 56,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413859962,
        startTime: 1713413860027,
        endTime: 1713413860038,
        updateTime: 1713413860027,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98447ea0-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9931,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "ktrbhjusvnttizwmopxg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 65,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__4",
        retryCount: 0,
        seq: 61,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413860290,
        startTime: 1713413860358,
        endTime: 1713413860370,
        updateTime: 1713413860358,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98768b25-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5254,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "fqlewtggkleyvghxoyqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 68,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__5",
        retryCount: 0,
        seq: 66,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413860624,
        startTime: 1713413860692,
        endTime: 1713413860703,
        updateTime: 1713413860692,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a9820a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2932,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "djokkjixbuwxlsstoaab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 68,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__8",
        retryCount: 0,
        seq: 77,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413861178,
        startTime: 1713413861247,
        endTime: 1713413861257,
        updateTime: 1713413861247,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fe0ab5-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5914,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "sccygcowawimarjtitnq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 69,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__9",
        retryCount: 0,
        seq: 82,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413861514,
        startTime: 1713413861577,
        endTime: 1713413861588,
        updateTime: 1713413861577,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99314fba-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 395,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "myxiwwnhjbxhdwkfwmzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 63,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__10",
        retryCount: 0,
        seq: 87,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413861845,
        startTime: 1713413861911,
        endTime: 1713413861920,
        updateTime: 1713413861911,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9963d16f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5175,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "enhhdgrjmtgntufhymzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 66,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_6: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_6__10",
    retryCount: 0,
    seq: 88,
    pollCount: 1,
    taskDefName: "http_6",
    scheduledTime: 1713413861927,
    startTime: 1713413862022,
    endTime: 1713413862033,
    updateTime: 1713413862022,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "99705490-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 4750,
          hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
          randomString: "oeenqbhrzifhhetyzpcu",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_6",
      taskReferenceName: "http_ref_6",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 95,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__2",
        retryCount: 0,
        seq: 52,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413859717,
        startTime: 1713413859806,
        endTime: 1713413859816,
        updateTime: 1713413859806,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "981f1c4c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1892,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "heqrbsinaexemndlvmcp",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 89,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__3",
        retryCount: 0,
        seq: 57,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413860044,
        startTime: 1713413860138,
        endTime: 1713413860150,
        updateTime: 1713413860138,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "985101c1-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3569,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "rbeetiujrcnurymrqpvl",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__4",
        retryCount: 0,
        seq: 62,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413860376,
        startTime: 1713413860469,
        endTime: 1713413860480,
        updateTime: 1713413860469,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9883aa86-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7061,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "ixireilwipqxtseivuxm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__5",
        retryCount: 0,
        seq: 67,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413860709,
        startTime: 1713413860803,
        endTime: 1713413860813,
        updateTime: 1713413860803,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98b67a5b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9316,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "dytnpkdddlzmtzlwfpal",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__8",
        retryCount: 0,
        seq: 78,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413861263,
        startTime: 1713413861357,
        endTime: 1713413861368,
        updateTime: 1713413861357,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "990b0306-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2173,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "saxapbpahdmmtpavvjlm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__9",
        retryCount: 0,
        seq: 83,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413861594,
        startTime: 1713413861688,
        endTime: 1713413861698,
        updateTime: 1713413861688,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "993d84bb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2885,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ykuzzhmdpvfcragcwxoh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__10",
        retryCount: 0,
        seq: 88,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413861927,
        startTime: 1713413862022,
        endTime: 1713413862033,
        updateTime: 1713413862022,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99705490-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4750,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "oeenqbhrzifhhetyzpcu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 95,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_9: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_9",
    retryCount: 0,
    seq: 90,
    pollCount: 1,
    taskDefName: "http_9",
    scheduledTime: 1713413862163,
    startTime: 1713413862244,
    endTime: 1713413862258,
    updateTime: 1713413862244,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "99945752-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 2042,
          hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
          randomString: "xwadanvnxdolxjqnchsa",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_9",
      taskReferenceName: "http_ref_9",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 81,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_9",
        retryCount: 0,
        seq: 90,
        pollCount: 1,
        taskDefName: "http_9",
        scheduledTime: 1713413862163,
        startTime: 1713413862244,
        endTime: 1713413862258,
        updateTime: 1713413862244,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99945752-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2042,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "xwadanvnxdolxjqnchsa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_9",
          taskReferenceName: "http_ref_9",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 81,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
};

export const doWhileSelectionForStatusMapResultSingleDoWhile = {
  http_ref: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref",
    retryCount: 0,
    seq: 1,
    pollCount: 1,
    taskDefName: "http",
    scheduledTime: 1713413856786,
    startTime: 1713413856891,
    endTime: 1713413856963,
    updateTime: 1713413856891,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "965fb8d9-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:36 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 8678,
          hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
          randomString: "mmxpwylvytawptmkxykq",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http",
      taskReferenceName: "http_ref",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 105,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref",
        retryCount: 0,
        seq: 1,
        pollCount: 1,
        taskDefName: "http",
        scheduledTime: 1713413856786,
        startTime: 1713413856891,
        endTime: 1713413856963,
        updateTime: 1713413856891,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "965fb8d9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:36 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8678,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "mmxpwylvytawptmkxykq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http",
          taskReferenceName: "http_ref",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 105,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
  do_while_ref: {
    taskType: "DO_WHILE",
    status: "COMPLETED",
    inputData: {
      number: 10,
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "do_while_ref",
    retryCount: 0,
    seq: 2,
    pollCount: 0,
    taskDefName: "do_while",
    scheduledTime: 1713413856971,
    startTime: 1713413856971,
    endTime: 1713413859275,
    updateTime: 1713413859060,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "967bcc5a-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      1: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["180"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 47,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "vxqmzdyagxmexnpbaiqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7523,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "rzlozabxrltfkexdijot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      2: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 633,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "pnnnyucqifmchdazstau",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9295,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "bgnycyjkhkdmiqsnjpcm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      3: {
        http_ref_1: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5570,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "sxopfwobgmlbyhectkue",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 3,
        },
        switch_ref: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1008,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "drzushsnuxfkfbxjqvfh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      4: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3964,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qsrrgcyapbgeuoceizaa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6761,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "taupmlrpyhpzpsulaxqo",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      5: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 698,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "aobgjizxlwgiwdasfclh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6970,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "igwwnykfobqdnkxmafab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      6: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2489,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "vbksjctcduvxcucqtykv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8930,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "purhjvrqkogxpcyjifxv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      7: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 970,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "abxkbgqcvgvqnxjcishg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5965,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "cozkeartchukblaomchw",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      8: {
        http_ref_1: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5144,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ffeeyciploflvzcqtrsc",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 3,
        },
        switch_ref: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9726,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qmkipozchmypxunkkkzd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      9: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1122,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "qixyannkpllogxldfyqi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2780,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "jklxzsbanazwjffbarxi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      10: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7706,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "wadmrkumznvlcrfbfpoz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 944,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "piubltpqkibleiqpmeno",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      iteration: 10,
    },
    workflowTask: {
      name: "do_while",
      taskReferenceName: "do_while_ref",
      inputParameters: {
        number: 10,
      },
      type: "DO_WHILE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopCondition:
        "(function () {\n  if ($.do_while_ref['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
      loopOver: [
        {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      evaluatorType: "graaljs",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 1,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "DO_WHILE",
        status: "COMPLETED",
        inputData: {
          number: 10,
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "do_while_ref",
        retryCount: 0,
        seq: 2,
        pollCount: 0,
        taskDefName: "do_while",
        scheduledTime: 1713413856971,
        startTime: 1713413856971,
        endTime: 1713413859275,
        updateTime: 1713413859060,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "967bcc5a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          1: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["180"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 47,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "vxqmzdyagxmexnpbaiqd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7523,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "rzlozabxrltfkexdijot",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          2: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 633,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "pnnnyucqifmchdazstau",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9295,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "bgnycyjkhkdmiqsnjpcm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          3: {
            http_ref_1: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5570,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "sxopfwobgmlbyhectkue",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 3,
            },
            switch_ref: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1008,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "drzushsnuxfkfbxjqvfh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          4: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3964,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "qsrrgcyapbgeuoceizaa",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 6761,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "taupmlrpyhpzpsulaxqo",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          5: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 698,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "aobgjizxlwgiwdasfclh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 6970,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "igwwnykfobqdnkxmafab",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          6: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2489,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "vbksjctcduvxcucqtykv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8930,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "purhjvrqkogxpcyjifxv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          7: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 970,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "abxkbgqcvgvqnxjcishg",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5965,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "cozkeartchukblaomchw",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          8: {
            http_ref_1: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5144,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "ffeeyciploflvzcqtrsc",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 3,
            },
            switch_ref: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9726,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "qmkipozchmypxunkkkzd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          9: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1122,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "qixyannkpllogxldfyqi",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2780,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "jklxzsbanazwjffbarxi",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          10: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7706,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "wadmrkumznvlcrfbfpoz",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 944,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "piubltpqkibleiqpmeno",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          iteration: 10,
        },
        workflowTask: {
          name: "do_while",
          taskReferenceName: "do_while_ref",
          inputParameters: {
            number: 10,
          },
          type: "DO_WHILE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopCondition:
            "(function () {\n  if ($.do_while_ref['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
          loopOver: [
            {
              name: "inline",
              taskReferenceName: "inline_ref",
              inputParameters: {
                evaluatorType: "graaljs",
                expression:
                  "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
              },
              type: "INLINE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "switch",
              taskReferenceName: "switch_ref",
              inputParameters: {
                switchCaseValue: "${inline_ref.output.result}",
              },
              type: "SWITCH",
              decisionCases: {
                1: [
                  {
                    name: "http_3",
                    taskReferenceName: "http_ref_3",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
                2: [
                  {
                    name: "http_2",
                    taskReferenceName: "http_ref_2",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
              },
              defaultCase: [
                {
                  name: "http_1",
                  taskReferenceName: "http_ref_1",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              evaluatorType: "value-param",
              expression: "switchCaseValue",
              onStateChange: {},
            },
            {
              name: "http_10",
              taskReferenceName: "http_ref_10",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          evaluatorType: "graaljs",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  inline_ref: {
    taskType: "INLINE",
    status: "COMPLETED",
    inputData: {
      evaluatorType: "graaljs",
      expression:
        "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "inline_ref__1",
    retryCount: 0,
    seq: 3,
    pollCount: 0,
    taskDefName: "inline",
    scheduledTime: 1713413856975,
    startTime: 1713413856975,
    endTime: 1713413857004,
    updateTime: 1713413856975,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "967c418b-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      result: 1,
    },
    workflowTask: {
      name: "inline",
      taskReferenceName: "inline_ref",
      inputParameters: {
        evaluatorType: "graaljs",
        expression:
          "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
      },
      type: "INLINE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__1",
        retryCount: 0,
        seq: 3,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413856975,
        startTime: 1713413856975,
        endTime: 1713413857004,
        updateTime: 1713413856975,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "967c418b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__2",
        retryCount: 0,
        seq: 7,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857247,
        startTime: 1713413857247,
        endTime: 1713413857262,
        updateTime: 1713413857247,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a5e99f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__3",
        retryCount: 0,
        seq: 11,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857465,
        startTime: 1713413857465,
        endTime: 1713413857480,
        updateTime: 1713413857465,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96c70633-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__4",
        retryCount: 0,
        seq: 15,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857687,
        startTime: 1713413857687,
        endTime: 1713413857702,
        updateTime: 1713413857687,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96e90d27-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__5",
        retryCount: 0,
        seq: 19,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857930,
        startTime: 1713413857930,
        endTime: 1713413857945,
        updateTime: 1713413857930,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "970e215b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__6",
        retryCount: 0,
        seq: 23,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858154,
        startTime: 1713413858154,
        endTime: 1713413858196,
        updateTime: 1713413858154,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97304f5f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__7",
        retryCount: 0,
        seq: 27,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858383,
        startTime: 1713413858383,
        endTime: 1713413858402,
        updateTime: 1713413858383,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "975319a3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__8",
        retryCount: 0,
        seq: 31,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858598,
        startTime: 1713413858598,
        endTime: 1713413858615,
        updateTime: 1713413858598,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9773e817-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__9",
        retryCount: 0,
        seq: 35,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858836,
        startTime: 1713413858836,
        endTime: 1713413858852,
        updateTime: 1713413858836,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979811eb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__10",
        retryCount: 0,
        seq: 39,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413859056,
        startTime: 1713413859056,
        endTime: 1713413859075,
        updateTime: 1713413859056,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97b9cabf-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  switch_ref: {
    taskType: "SWITCH",
    status: "COMPLETED",
    inputData: {
      hasChildren: "true",
      switchCaseValue: 1,
      _createdBy: "najeeb.thangal@orkes.io",
      case: "1",
    },
    referenceTaskName: "switch_ref__1",
    retryCount: 0,
    seq: 4,
    pollCount: 0,
    taskDefName: "SWITCH",
    scheduledTime: 1713413857015,
    startTime: 1713413857015,
    endTime: 1713413857015,
    updateTime: 1713413857015,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "968171ac-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      evaluationResult: ["1"],
      selectedCase: "1",
    },
    workflowTask: {
      name: "switch",
      taskReferenceName: "switch_ref",
      inputParameters: {
        switchCaseValue: "${inline_ref.output.result}",
      },
      type: "SWITCH",
      decisionCases: {
        1: [
          {
            name: "http_3",
            taskReferenceName: "http_ref_3",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        2: [
          {
            name: "http_2",
            taskReferenceName: "http_ref_2",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
      },
      defaultCase: [
        {
          name: "http_1",
          taskReferenceName: "http_ref_1",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      evaluatorType: "value-param",
      expression: "switchCaseValue",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__1",
        retryCount: 0,
        seq: 4,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857015,
        startTime: 1713413857015,
        endTime: 1713413857015,
        updateTime: 1713413857015,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "968171ac-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__2",
        retryCount: 0,
        seq: 8,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857270,
        startTime: 1713413857270,
        endTime: 1713413857270,
        updateTime: 1713413857270,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a8f6e0-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref__3",
        retryCount: 0,
        seq: 12,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857488,
        startTime: 1713413857488,
        endTime: 1713413857488,
        updateTime: 1713413857488,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ca3a84-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__4",
        retryCount: 0,
        seq: 16,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857710,
        startTime: 1713413857711,
        endTime: 1713413857711,
        updateTime: 1713413857711,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ebf358-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 1,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__5",
        retryCount: 0,
        seq: 20,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857953,
        startTime: 1713413857953,
        endTime: 1713413857953,
        updateTime: 1713413857953,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97112e9c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__6",
        retryCount: 0,
        seq: 24,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858204,
        startTime: 1713413858204,
        endTime: 1713413858204,
        updateTime: 1713413858204,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97377b50-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__7",
        retryCount: 0,
        seq: 28,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858412,
        startTime: 1713413858412,
        endTime: 1713413858412,
        updateTime: 1713413858412,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97571144-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref__8",
        retryCount: 0,
        seq: 32,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858625,
        startTime: 1713413858625,
        endTime: 1713413858625,
        updateTime: 1713413858625,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97779198-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__9",
        retryCount: 0,
        seq: 36,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858864,
        startTime: 1713413858864,
        endTime: 1713413858864,
        updateTime: 1713413858864,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979c098c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__10",
        retryCount: 0,
        seq: 40,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859083,
        startTime: 1713413859083,
        endTime: 1713413859083,
        updateTime: 1713413859083,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97bd7440-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_3: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_3__1",
    retryCount: 0,
    seq: 5,
    pollCount: 1,
    taskDefName: "http_3",
    scheduledTime: 1713413857007,
    startTime: 1713413857108,
    endTime: 1713413857122,
    updateTime: 1713413857108,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "968171ad-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["180"],
          Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 47,
          hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
          randomString: "vxqmzdyagxmexnpbaiqd",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_3",
      taskReferenceName: "http_ref_3",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 101,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__1",
        retryCount: 0,
        seq: 5,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857007,
        startTime: 1713413857108,
        endTime: 1713413857122,
        updateTime: 1713413857108,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "968171ad-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["180"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 47,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "vxqmzdyagxmexnpbaiqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 101,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__4",
        retryCount: 0,
        seq: 17,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857705,
        startTime: 1713413857770,
        endTime: 1713413857805,
        updateTime: 1713413857770,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ec1a69-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3964,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qsrrgcyapbgeuoceizaa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 65,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__5",
        retryCount: 0,
        seq: 21,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857948,
        startTime: 1713413858015,
        endTime: 1713413858027,
        updateTime: 1713413858015,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97112e9d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 698,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "aobgjizxlwgiwdasfclh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 67,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__6",
        retryCount: 0,
        seq: 25,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413858199,
        startTime: 1713413858238,
        endTime: 1713413858249,
        updateTime: 1713413858238,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97377b51-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2489,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "vbksjctcduvxcucqtykv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 39,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__9",
        retryCount: 0,
        seq: 37,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413858858,
        startTime: 1713413858917,
        endTime: 1713413858928,
        updateTime: 1713413858917,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979c098d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1122,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "qixyannkpllogxldfyqi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 59,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_10: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_10__1",
    retryCount: 0,
    seq: 6,
    pollCount: 1,
    taskDefName: "http_10",
    scheduledTime: 1713413857128,
    startTime: 1713413857218,
    endTime: 1713413857230,
    updateTime: 1713413857218,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9693e83e-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 7523,
          hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
          randomString: "rzlozabxrltfkexdijot",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_10",
      taskReferenceName: "http_ref_10",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 90,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__1",
        retryCount: 0,
        seq: 6,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857128,
        startTime: 1713413857218,
        endTime: 1713413857230,
        updateTime: 1713413857218,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9693e83e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7523,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "rzlozabxrltfkexdijot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 90,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__2",
        retryCount: 0,
        seq: 10,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857348,
        startTime: 1713413857439,
        endTime: 1713413857451,
        updateTime: 1713413857439,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96b5a112-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9295,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "bgnycyjkhkdmiqsnjpcm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 91,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__3",
        retryCount: 0,
        seq: 14,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857567,
        startTime: 1713413857659,
        endTime: 1713413857671,
        updateTime: 1713413857659,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96d70bc6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1008,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "drzushsnuxfkfbxjqvfh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__4",
        retryCount: 0,
        seq: 18,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857810,
        startTime: 1713413857904,
        endTime: 1713413857915,
        updateTime: 1713413857904,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96fc1ffa-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6761,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "taupmlrpyhpzpsulaxqo",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__5",
        retryCount: 0,
        seq: 22,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858034,
        startTime: 1713413858126,
        endTime: 1713413858139,
        updateTime: 1713413858126,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "971e4dfe-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6970,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "igwwnykfobqdnkxmafab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__6",
        retryCount: 0,
        seq: 26,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858256,
        startTime: 1713413858349,
        endTime: 1713413858361,
        updateTime: 1713413858349,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97402de2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8930,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "purhjvrqkogxpcyjifxv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__7",
        retryCount: 0,
        seq: 30,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858478,
        startTime: 1713413858571,
        endTime: 1713413858583,
        updateTime: 1713413858571,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97620dc6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5965,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "cozkeartchukblaomchw",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__8",
        retryCount: 0,
        seq: 34,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858712,
        startTime: 1713413858806,
        endTime: 1713413858818,
        updateTime: 1713413858806,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9785c26a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9726,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qmkipozchmypxunkkkzd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__9",
        retryCount: 0,
        seq: 38,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858936,
        startTime: 1713413859029,
        endTime: 1713413859040,
        updateTime: 1713413859029,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97a7c95e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2780,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "jklxzsbanazwjffbarxi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__10",
        retryCount: 0,
        seq: 42,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413859158,
        startTime: 1713413859250,
        endTime: 1713413859260,
        updateTime: 1713413859250,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97c9d052-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 944,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "piubltpqkibleiqpmeno",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_4: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_4",
    retryCount: 0,
    seq: 43,
    pollCount: 1,
    taskDefName: "http_4",
    scheduledTime: 1713413859277,
    startTime: 1713413859361,
    endTime: 1713413859373,
    updateTime: 1713413859361,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97dbf8c3-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 5081,
          hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
          randomString: "yfxgvcpjtxnjlftbtcpr",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_4",
      taskReferenceName: "http_ref_4",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 84,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_4",
        retryCount: 0,
        seq: 43,
        pollCount: 1,
        taskDefName: "http_4",
        scheduledTime: 1713413859277,
        startTime: 1713413859361,
        endTime: 1713413859373,
        updateTime: 1713413859361,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97dbf8c3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5081,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "yfxgvcpjtxnjlftbtcpr",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_4",
          taskReferenceName: "http_ref_4",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 84,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
  do_while_ref_1: {
    taskType: "DO_WHILE",
    status: "COMPLETED",
    inputData: {
      number: 10,
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "do_while_ref_1",
    retryCount: 0,
    seq: 44,
    pollCount: 0,
    taskDefName: "do_while_1",
    scheduledTime: 1713413859382,
    startTime: 1713413859382,
    endTime: 1713413862160,
    updateTime: 1713413861832,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97eb8924-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      1: {
        switch_ref_1: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        inline_ref_1: {
          result: 2,
        },
        http_ref_7: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9943,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "tjxztrsclyzabbqspjmv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9428,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "lwfynuupwbgkcwgqemcs",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      2: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3723,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "kjmdqmvozujqsxupnlot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 154,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "obdruesgtvezidzuenhu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1892,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "heqrbsinaexemndlvmcp",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      3: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7080,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "cuurineeimzdpveetkte",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9931,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "ktrbhjusvnttizwmopxg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3569,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "rbeetiujrcnurymrqpvl",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      4: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8155,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "tniyursobyqwmcgnfxcj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5254,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "fqlewtggkleyvghxoyqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7061,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "ixireilwipqxtseivuxm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      5: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5878,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "bksldazxfxhyoyefvrxf",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2932,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "djokkjixbuwxlsstoaab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9316,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "dytnpkdddlzmtzlwfpal",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      6: {
        switch_ref_1: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        inline_ref_1: {
          result: 4,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4089,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "khrlsfsjmhvsjgtshbfz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      7: {
        switch_ref_1: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        inline_ref_1: {
          result: 4,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8433,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "nwltborbttslioxepwhe",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      8: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 242,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "idkvujpflbawjvbtcqol",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5914,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "sccygcowawimarjtitnq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2173,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "saxapbpahdmmtpavvjlm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      9: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4359,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "lmbrmrnefvkwwwbmvolm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 395,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "myxiwwnhjbxhdwkfwmzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2885,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ykuzzhmdpvfcragcwxoh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      10: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4274,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "kwmoumdlucxuwgphkxaj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5175,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "enhhdgrjmtgntufhymzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4750,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "oeenqbhrzifhhetyzpcu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      iteration: 10,
    },
    workflowTask: {
      name: "do_while_1",
      taskReferenceName: "do_while_ref_1",
      inputParameters: {
        number: 10,
      },
      type: "DO_WHILE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopCondition:
        "(function () {\n  if ($.do_while_ref_1['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
      loopOver: [
        {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      evaluatorType: "graaljs",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 1,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "DO_WHILE",
        status: "COMPLETED",
        inputData: {
          number: 10,
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "do_while_ref_1",
        retryCount: 0,
        seq: 44,
        pollCount: 0,
        taskDefName: "do_while_1",
        scheduledTime: 1713413859382,
        startTime: 1713413859382,
        endTime: 1713413862160,
        updateTime: 1713413861832,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97eb8924-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          1: {
            switch_ref_1: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            inline_ref_1: {
              result: 2,
            },
            http_ref_7: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9943,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "tjxztrsclyzabbqspjmv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9428,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "lwfynuupwbgkcwgqemcs",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          2: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3723,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "kjmdqmvozujqsxupnlot",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 154,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "obdruesgtvezidzuenhu",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1892,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "heqrbsinaexemndlvmcp",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          3: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7080,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "cuurineeimzdpveetkte",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9931,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "ktrbhjusvnttizwmopxg",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3569,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "rbeetiujrcnurymrqpvl",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          4: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8155,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "tniyursobyqwmcgnfxcj",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5254,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "fqlewtggkleyvghxoyqd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7061,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "ixireilwipqxtseivuxm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          5: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5878,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "bksldazxfxhyoyefvrxf",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2932,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "djokkjixbuwxlsstoaab",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9316,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "dytnpkdddlzmtzlwfpal",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          6: {
            switch_ref_1: {
              evaluationResult: ["4"],
              selectedCase: "4",
            },
            inline_ref_1: {
              result: 4,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4089,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "khrlsfsjmhvsjgtshbfz",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          7: {
            switch_ref_1: {
              evaluationResult: ["4"],
              selectedCase: "4",
            },
            inline_ref_1: {
              result: 4,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8433,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "nwltborbttslioxepwhe",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          8: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 242,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "idkvujpflbawjvbtcqol",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5914,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "sccygcowawimarjtitnq",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2173,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "saxapbpahdmmtpavvjlm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          9: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4359,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "lmbrmrnefvkwwwbmvolm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 395,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "myxiwwnhjbxhdwkfwmzm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2885,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "ykuzzhmdpvfcragcwxoh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          10: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4274,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "kwmoumdlucxuwgphkxaj",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5175,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "enhhdgrjmtgntufhymzm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4750,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "oeenqbhrzifhhetyzpcu",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          iteration: 10,
        },
        workflowTask: {
          name: "do_while_1",
          taskReferenceName: "do_while_ref_1",
          inputParameters: {
            number: 10,
          },
          type: "DO_WHILE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopCondition:
            "(function () {\n  if ($.do_while_ref_1['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
          loopOver: [
            {
              name: "inline_1",
              taskReferenceName: "inline_ref_1",
              inputParameters: {
                evaluatorType: "graaljs",
                expression:
                  "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
              },
              type: "INLINE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "switch_1",
              taskReferenceName: "switch_ref_1",
              inputParameters: {
                switchCaseValue: "${inline_ref_1.output.result}",
              },
              type: "SWITCH",
              decisionCases: {
                2: [
                  {
                    name: "http_7",
                    taskReferenceName: "http_ref_7",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
                4: [],
              },
              defaultCase: [
                {
                  name: "http_5",
                  taskReferenceName: "http_ref_5",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_6",
                  taskReferenceName: "http_ref_6",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              evaluatorType: "value-param",
              expression: "switchCaseValue",
              onStateChange: {},
            },
            {
              name: "http_8",
              taskReferenceName: "http_ref_8",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          evaluatorType: "graaljs",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  inline_ref_1: {
    taskType: "INLINE",
    status: "COMPLETED",
    inputData: {
      evaluatorType: "graaljs",
      expression:
        "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "inline_ref_1__10",
    retryCount: 0,
    seq: 85,
    pollCount: 0,
    taskDefName: "inline_1",
    scheduledTime: 1713413861829,
    startTime: 1713413861829,
    endTime: 1713413861842,
    updateTime: 1713413861829,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9960760d-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      result: 3,
    },
    workflowTask: {
      name: "inline_1",
      taskReferenceName: "inline_ref_1",
      inputParameters: {
        evaluatorType: "graaljs",
        expression:
          "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
      },
      type: "INLINE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__1",
        retryCount: 0,
        seq: 45,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859386,
        startTime: 1713413859386,
        endTime: 1713413859402,
        updateTime: 1713413859386,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97ec2565-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__2",
        retryCount: 0,
        seq: 49,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859617,
        startTime: 1713413859617,
        endTime: 1713413859629,
        updateTime: 1713413859617,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "980f64d9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__3",
        retryCount: 0,
        seq: 54,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859945,
        startTime: 1713413859945,
        endTime: 1713413859959,
        updateTime: 1713413859945,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9841715e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__4",
        retryCount: 0,
        seq: 59,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860274,
        startTime: 1713413860274,
        endTime: 1713413860287,
        updateTime: 1713413860274,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9873a4f3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__5",
        retryCount: 0,
        seq: 64,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860607,
        startTime: 1713413860607,
        endTime: 1713413860621,
        updateTime: 1713413860607,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a69bd8-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__6",
        retryCount: 0,
        seq: 69,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860941,
        startTime: 1713413860941,
        endTime: 1713413860957,
        updateTime: 1713413860941,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98d96bad-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 4,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__7",
        retryCount: 0,
        seq: 72,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861052,
        startTime: 1713413861052,
        endTime: 1713413861070,
        updateTime: 1713413861052,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ea3490-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 4,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__8",
        retryCount: 0,
        seq: 75,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861161,
        startTime: 1713413861161,
        endTime: 1713413861175,
        updateTime: 1713413861161,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fafd73-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__9",
        retryCount: 0,
        seq: 80,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861496,
        startTime: 1713413861497,
        endTime: 1713413861510,
        updateTime: 1713413861497,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "992e4278-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 1,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__10",
        retryCount: 0,
        seq: 85,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861829,
        startTime: 1713413861829,
        endTime: 1713413861842,
        updateTime: 1713413861829,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9960760d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  switch_ref_1: {
    taskType: "SWITCH",
    status: "COMPLETED",
    inputData: {
      hasChildren: "true",
      switchCaseValue: 3,
      _createdBy: "najeeb.thangal@orkes.io",
      case: "3",
    },
    referenceTaskName: "switch_ref_1__10",
    retryCount: 0,
    seq: 86,
    pollCount: 0,
    taskDefName: "SWITCH",
    scheduledTime: 1713413861851,
    startTime: 1713413861851,
    endTime: 1713413861851,
    updateTime: 1713413861851,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9963d16e-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      evaluationResult: ["3"],
      selectedCase: "3",
    },
    workflowTask: {
      name: "switch_1",
      taskReferenceName: "switch_ref_1",
      inputParameters: {
        switchCaseValue: "${inline_ref_1.output.result}",
      },
      type: "SWITCH",
      decisionCases: {
        2: [
          {
            name: "http_7",
            taskReferenceName: "http_ref_7",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        4: [],
      },
      defaultCase: [
        {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      evaluatorType: "value-param",
      expression: "switchCaseValue",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref_1__1",
        retryCount: 0,
        seq: 46,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859413,
        startTime: 1713413859413,
        endTime: 1713413859413,
        updateTime: 1713413859413,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97ef80c6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__2",
        retryCount: 0,
        seq: 50,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859637,
        startTime: 1713413859637,
        endTime: 1713413859637,
        updateTime: 1713413859637,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9811fcea-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__3",
        retryCount: 0,
        seq: 55,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859968,
        startTime: 1713413859968,
        endTime: 1713413859968,
        updateTime: 1713413859968,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98447e9f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__4",
        retryCount: 0,
        seq: 60,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860295,
        startTime: 1713413860295,
        endTime: 1713413860295,
        updateTime: 1713413860295,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98768b24-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__5",
        retryCount: 0,
        seq: 65,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860629,
        startTime: 1713413860629,
        endTime: 1713413860629,
        updateTime: 1713413860629,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a98209-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          switchCaseValue: 4,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "4",
        },
        referenceTaskName: "switch_ref_1__6",
        retryCount: 0,
        seq: 70,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860963,
        startTime: 1713413860963,
        endTime: 1713413860963,
        updateTime: 1713413860963,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98dcc70e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          switchCaseValue: 4,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "4",
        },
        referenceTaskName: "switch_ref_1__7",
        retryCount: 0,
        seq: 73,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861076,
        startTime: 1713413861076,
        endTime: 1713413861076,
        updateTime: 1713413861076,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ee0521-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__8",
        retryCount: 0,
        seq: 76,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861183,
        startTime: 1713413861183,
        endTime: 1713413861183,
        updateTime: 1713413861183,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fe0ab4-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__9",
        retryCount: 0,
        seq: 81,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861520,
        startTime: 1713413861520,
        endTime: 1713413861520,
        updateTime: 1713413861520,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "993128a9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__10",
        retryCount: 0,
        seq: 86,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861851,
        startTime: 1713413861851,
        endTime: 1713413861851,
        updateTime: 1713413861851,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9963d16e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_7: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_7__1",
    retryCount: 0,
    seq: 47,
    pollCount: 1,
    taskDefName: "http_7",
    scheduledTime: 1713413859406,
    startTime: 1713413859472,
    endTime: 1713413859483,
    updateTime: 1713413859472,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97efa7d7-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 9943,
          hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
          randomString: "tjxztrsclyzabbqspjmv",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_7",
      taskReferenceName: "http_ref_7",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 66,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_7__1",
        retryCount: 0,
        seq: 47,
        pollCount: 1,
        taskDefName: "http_7",
        scheduledTime: 1713413859406,
        startTime: 1713413859472,
        endTime: 1713413859483,
        updateTime: 1713413859472,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97efa7d7-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9943,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "tjxztrsclyzabbqspjmv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_7",
          taskReferenceName: "http_ref_7",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 66,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_8: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_8__10",
    retryCount: 0,
    seq: 89,
    pollCount: 1,
    taskDefName: "http_8",
    scheduledTime: 1713413862045,
    startTime: 1713413862132,
    endTime: 1713413862145,
    updateTime: 1713413862132,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "998255f1-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 4274,
          hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
          randomString: "kwmoumdlucxuwgphkxaj",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_8",
      taskReferenceName: "http_ref_8",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 87,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__1",
        retryCount: 0,
        seq: 48,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413859490,
        startTime: 1713413859583,
        endTime: 1713413859594,
        updateTime: 1713413859583,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97fc7918-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9428,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "lwfynuupwbgkcwgqemcs",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__2",
        retryCount: 0,
        seq: 53,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413859823,
        startTime: 1713413859916,
        endTime: 1713413859927,
        updateTime: 1713413859916,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "982f48ed-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3723,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "kjmdqmvozujqsxupnlot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__3",
        retryCount: 0,
        seq: 58,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860156,
        startTime: 1713413860248,
        endTime: 1713413860259,
        updateTime: 1713413860248,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "986218c2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7080,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "cuurineeimzdpveetkte",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__4",
        retryCount: 0,
        seq: 63,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860487,
        startTime: 1713413860580,
        endTime: 1713413860592,
        updateTime: 1713413860580,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98949a77-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8155,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "tniyursobyqwmcgnfxcj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__5",
        retryCount: 0,
        seq: 68,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860819,
        startTime: 1713413860914,
        endTime: 1713413860925,
        updateTime: 1713413860914,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98c7433c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5878,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "bksldazxfxhyoyefvrxf",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 95,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__6",
        retryCount: 0,
        seq: 71,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860970,
        startTime: 1713413861025,
        endTime: 1713413861036,
        updateTime: 1713413861025,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98de269f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4089,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "khrlsfsjmhvsjgtshbfz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 55,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__7",
        retryCount: 0,
        seq: 74,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861082,
        startTime: 1713413861136,
        endTime: 1713413861147,
        updateTime: 1713413861136,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ef64b2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8433,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "nwltborbttslioxepwhe",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 54,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__8",
        retryCount: 0,
        seq: 79,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861375,
        startTime: 1713413861467,
        endTime: 1713413861478,
        updateTime: 1713413861467,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "991c1a07-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 242,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "idkvujpflbawjvbtcqol",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__9",
        retryCount: 0,
        seq: 84,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861704,
        startTime: 1713413861798,
        endTime: 1713413861810,
        updateTime: 1713413861798,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "994e4d9c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4359,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "lmbrmrnefvkwwwbmvolm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__10",
        retryCount: 0,
        seq: 89,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413862045,
        startTime: 1713413862132,
        endTime: 1713413862145,
        updateTime: 1713413862132,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "998255f1-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4274,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "kwmoumdlucxuwgphkxaj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 87,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_5: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_5__10",
    retryCount: 0,
    seq: 87,
    pollCount: 1,
    taskDefName: "http_5",
    scheduledTime: 1713413861845,
    startTime: 1713413861911,
    endTime: 1713413861920,
    updateTime: 1713413861911,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9963d16f-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 5175,
          hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
          randomString: "enhhdgrjmtgntufhymzm",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_5",
      taskReferenceName: "http_ref_5",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 66,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__2",
        retryCount: 0,
        seq: 51,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413859632,
        startTime: 1713413859695,
        endTime: 1713413859706,
        updateTime: 1713413859695,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "981223fb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 154,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "obdruesgtvezidzuenhu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 63,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__3",
        retryCount: 0,
        seq: 56,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413859962,
        startTime: 1713413860027,
        endTime: 1713413860038,
        updateTime: 1713413860027,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98447ea0-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9931,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "ktrbhjusvnttizwmopxg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 65,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__4",
        retryCount: 0,
        seq: 61,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413860290,
        startTime: 1713413860358,
        endTime: 1713413860370,
        updateTime: 1713413860358,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98768b25-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5254,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "fqlewtggkleyvghxoyqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 68,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__5",
        retryCount: 0,
        seq: 66,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413860624,
        startTime: 1713413860692,
        endTime: 1713413860703,
        updateTime: 1713413860692,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a9820a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2932,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "djokkjixbuwxlsstoaab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 68,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__8",
        retryCount: 0,
        seq: 77,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413861178,
        startTime: 1713413861247,
        endTime: 1713413861257,
        updateTime: 1713413861247,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fe0ab5-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5914,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "sccygcowawimarjtitnq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 69,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__9",
        retryCount: 0,
        seq: 82,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413861514,
        startTime: 1713413861577,
        endTime: 1713413861588,
        updateTime: 1713413861577,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99314fba-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 395,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "myxiwwnhjbxhdwkfwmzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 63,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_5__10",
        retryCount: 0,
        seq: 87,
        pollCount: 1,
        taskDefName: "http_5",
        scheduledTime: 1713413861845,
        startTime: 1713413861911,
        endTime: 1713413861920,
        updateTime: 1713413861911,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9963d16f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5175,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "enhhdgrjmtgntufhymzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 66,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_6: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_6__10",
    retryCount: 0,
    seq: 88,
    pollCount: 1,
    taskDefName: "http_6",
    scheduledTime: 1713413861927,
    startTime: 1713413862022,
    endTime: 1713413862033,
    updateTime: 1713413862022,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "99705490-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 4750,
          hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
          randomString: "oeenqbhrzifhhetyzpcu",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_6",
      taskReferenceName: "http_ref_6",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 95,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__2",
        retryCount: 0,
        seq: 52,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413859717,
        startTime: 1713413859806,
        endTime: 1713413859816,
        updateTime: 1713413859806,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "981f1c4c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1892,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "heqrbsinaexemndlvmcp",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 89,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__3",
        retryCount: 0,
        seq: 57,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413860044,
        startTime: 1713413860138,
        endTime: 1713413860150,
        updateTime: 1713413860138,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "985101c1-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3569,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "rbeetiujrcnurymrqpvl",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__4",
        retryCount: 0,
        seq: 62,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413860376,
        startTime: 1713413860469,
        endTime: 1713413860480,
        updateTime: 1713413860469,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9883aa86-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7061,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "ixireilwipqxtseivuxm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__5",
        retryCount: 0,
        seq: 67,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413860709,
        startTime: 1713413860803,
        endTime: 1713413860813,
        updateTime: 1713413860803,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98b67a5b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9316,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "dytnpkdddlzmtzlwfpal",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__8",
        retryCount: 0,
        seq: 78,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413861263,
        startTime: 1713413861357,
        endTime: 1713413861368,
        updateTime: 1713413861357,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "990b0306-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2173,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "saxapbpahdmmtpavvjlm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__9",
        retryCount: 0,
        seq: 83,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413861594,
        startTime: 1713413861688,
        endTime: 1713413861698,
        updateTime: 1713413861688,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "993d84bb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2885,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ykuzzhmdpvfcragcwxoh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_6__10",
        retryCount: 0,
        seq: 88,
        pollCount: 1,
        taskDefName: "http_6",
        scheduledTime: 1713413861927,
        startTime: 1713413862022,
        endTime: 1713413862033,
        updateTime: 1713413862022,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99705490-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4750,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "oeenqbhrzifhhetyzpcu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 95,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_9: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_9",
    retryCount: 0,
    seq: 90,
    pollCount: 1,
    taskDefName: "http_9",
    scheduledTime: 1713413862163,
    startTime: 1713413862244,
    endTime: 1713413862258,
    updateTime: 1713413862244,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "99945752-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 2042,
          hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
          randomString: "xwadanvnxdolxjqnchsa",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_9",
      taskReferenceName: "http_ref_9",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 81,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_9",
        retryCount: 0,
        seq: 90,
        pollCount: 1,
        taskDefName: "http_9",
        scheduledTime: 1713413862163,
        startTime: 1713413862244,
        endTime: 1713413862258,
        updateTime: 1713413862244,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99945752-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2042,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "xwadanvnxdolxjqnchsa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_9",
          taskReferenceName: "http_ref_9",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 81,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
};

export const doWhileSelectionForStatusMapResultMultiDowhile = {
  http_ref: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref",
    retryCount: 0,
    seq: 1,
    pollCount: 1,
    taskDefName: "http",
    scheduledTime: 1713413856786,
    startTime: 1713413856891,
    endTime: 1713413856963,
    updateTime: 1713413856891,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "965fb8d9-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:36 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 8678,
          hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
          randomString: "mmxpwylvytawptmkxykq",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http",
      taskReferenceName: "http_ref",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 105,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref",
        retryCount: 0,
        seq: 1,
        pollCount: 1,
        taskDefName: "http",
        scheduledTime: 1713413856786,
        startTime: 1713413856891,
        endTime: 1713413856963,
        updateTime: 1713413856891,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "965fb8d9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:36 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8678,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "mmxpwylvytawptmkxykq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http",
          taskReferenceName: "http_ref",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 105,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
  do_while_ref: {
    taskType: "DO_WHILE",
    status: "COMPLETED",
    inputData: {
      number: 10,
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "do_while_ref",
    retryCount: 0,
    seq: 2,
    pollCount: 0,
    taskDefName: "do_while",
    scheduledTime: 1713413856971,
    startTime: 1713413856971,
    endTime: 1713413859275,
    updateTime: 1713413859060,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "967bcc5a-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      1: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["180"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 47,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "vxqmzdyagxmexnpbaiqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7523,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "rzlozabxrltfkexdijot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      2: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 633,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "pnnnyucqifmchdazstau",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9295,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "bgnycyjkhkdmiqsnjpcm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      3: {
        http_ref_1: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5570,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "sxopfwobgmlbyhectkue",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 3,
        },
        switch_ref: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1008,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "drzushsnuxfkfbxjqvfh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      4: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3964,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qsrrgcyapbgeuoceizaa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6761,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "taupmlrpyhpzpsulaxqo",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      5: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 698,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "aobgjizxlwgiwdasfclh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6970,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "igwwnykfobqdnkxmafab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      6: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2489,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "vbksjctcduvxcucqtykv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8930,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "purhjvrqkogxpcyjifxv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      7: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 970,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "abxkbgqcvgvqnxjcishg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5965,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "cozkeartchukblaomchw",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      8: {
        http_ref_1: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5144,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ffeeyciploflvzcqtrsc",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 3,
        },
        switch_ref: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9726,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qmkipozchmypxunkkkzd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      9: {
        inline_ref: {
          result: 1,
        },
        switch_ref: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        http_ref_3: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1122,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "qixyannkpllogxldfyqi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2780,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "jklxzsbanazwjffbarxi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      10: {
        http_ref_2: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7706,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "wadmrkumznvlcrfbfpoz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        inline_ref: {
          result: 2,
        },
        switch_ref: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        http_ref_10: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 944,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "piubltpqkibleiqpmeno",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      iteration: 10,
    },
    workflowTask: {
      name: "do_while",
      taskReferenceName: "do_while_ref",
      inputParameters: {
        number: 10,
      },
      type: "DO_WHILE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopCondition:
        "(function () {\n  if ($.do_while_ref['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
      loopOver: [
        {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      evaluatorType: "graaljs",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 1,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "DO_WHILE",
        status: "COMPLETED",
        inputData: {
          number: 10,
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "do_while_ref",
        retryCount: 0,
        seq: 2,
        pollCount: 0,
        taskDefName: "do_while",
        scheduledTime: 1713413856971,
        startTime: 1713413856971,
        endTime: 1713413859275,
        updateTime: 1713413859060,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "967bcc5a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          1: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["180"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 47,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "vxqmzdyagxmexnpbaiqd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7523,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "rzlozabxrltfkexdijot",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          2: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 633,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "pnnnyucqifmchdazstau",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9295,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "bgnycyjkhkdmiqsnjpcm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          3: {
            http_ref_1: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5570,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "sxopfwobgmlbyhectkue",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 3,
            },
            switch_ref: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1008,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "drzushsnuxfkfbxjqvfh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          4: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3964,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "qsrrgcyapbgeuoceizaa",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 6761,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "taupmlrpyhpzpsulaxqo",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          5: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 698,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "aobgjizxlwgiwdasfclh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 6970,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "igwwnykfobqdnkxmafab",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          6: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2489,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "vbksjctcduvxcucqtykv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8930,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "purhjvrqkogxpcyjifxv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          7: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 970,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "abxkbgqcvgvqnxjcishg",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5965,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "cozkeartchukblaomchw",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          8: {
            http_ref_1: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5144,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "ffeeyciploflvzcqtrsc",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 3,
            },
            switch_ref: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9726,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "qmkipozchmypxunkkkzd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          9: {
            inline_ref: {
              result: 1,
            },
            switch_ref: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            http_ref_3: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1122,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "qixyannkpllogxldfyqi",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2780,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "jklxzsbanazwjffbarxi",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          10: {
            http_ref_2: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7706,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "wadmrkumznvlcrfbfpoz",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            inline_ref: {
              result: 2,
            },
            switch_ref: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            http_ref_10: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 944,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "piubltpqkibleiqpmeno",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          iteration: 10,
        },
        workflowTask: {
          name: "do_while",
          taskReferenceName: "do_while_ref",
          inputParameters: {
            number: 10,
          },
          type: "DO_WHILE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopCondition:
            "(function () {\n  if ($.do_while_ref['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
          loopOver: [
            {
              name: "inline",
              taskReferenceName: "inline_ref",
              inputParameters: {
                evaluatorType: "graaljs",
                expression:
                  "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
              },
              type: "INLINE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "switch",
              taskReferenceName: "switch_ref",
              inputParameters: {
                switchCaseValue: "${inline_ref.output.result}",
              },
              type: "SWITCH",
              decisionCases: {
                1: [
                  {
                    name: "http_3",
                    taskReferenceName: "http_ref_3",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
                2: [
                  {
                    name: "http_2",
                    taskReferenceName: "http_ref_2",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
              },
              defaultCase: [
                {
                  name: "http_1",
                  taskReferenceName: "http_ref_1",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              evaluatorType: "value-param",
              expression: "switchCaseValue",
              onStateChange: {},
            },
            {
              name: "http_10",
              taskReferenceName: "http_ref_10",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          evaluatorType: "graaljs",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  inline_ref: {
    taskType: "INLINE",
    status: "COMPLETED",
    inputData: {
      evaluatorType: "graaljs",
      expression:
        "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "inline_ref__1",
    retryCount: 0,
    seq: 3,
    pollCount: 0,
    taskDefName: "inline",
    scheduledTime: 1713413856975,
    startTime: 1713413856975,
    endTime: 1713413857004,
    updateTime: 1713413856975,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "967c418b-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      result: 1,
    },
    workflowTask: {
      name: "inline",
      taskReferenceName: "inline_ref",
      inputParameters: {
        evaluatorType: "graaljs",
        expression:
          "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
      },
      type: "INLINE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__1",
        retryCount: 0,
        seq: 3,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413856975,
        startTime: 1713413856975,
        endTime: 1713413857004,
        updateTime: 1713413856975,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "967c418b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__2",
        retryCount: 0,
        seq: 7,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857247,
        startTime: 1713413857247,
        endTime: 1713413857262,
        updateTime: 1713413857247,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a5e99f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__3",
        retryCount: 0,
        seq: 11,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857465,
        startTime: 1713413857465,
        endTime: 1713413857480,
        updateTime: 1713413857465,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96c70633-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__4",
        retryCount: 0,
        seq: 15,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857687,
        startTime: 1713413857687,
        endTime: 1713413857702,
        updateTime: 1713413857687,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96e90d27-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__5",
        retryCount: 0,
        seq: 19,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413857930,
        startTime: 1713413857930,
        endTime: 1713413857945,
        updateTime: 1713413857930,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "970e215b-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__6",
        retryCount: 0,
        seq: 23,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858154,
        startTime: 1713413858154,
        endTime: 1713413858196,
        updateTime: 1713413858154,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97304f5f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__7",
        retryCount: 0,
        seq: 27,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858383,
        startTime: 1713413858383,
        endTime: 1713413858402,
        updateTime: 1713413858383,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "975319a3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__8",
        retryCount: 0,
        seq: 31,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858598,
        startTime: 1713413858598,
        endTime: 1713413858615,
        updateTime: 1713413858598,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9773e817-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__9",
        retryCount: 0,
        seq: 35,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413858836,
        startTime: 1713413858836,
        endTime: 1713413858852,
        updateTime: 1713413858836,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979811eb-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref__10",
        retryCount: 0,
        seq: 39,
        pollCount: 0,
        taskDefName: "inline",
        scheduledTime: 1713413859056,
        startTime: 1713413859056,
        endTime: 1713413859075,
        updateTime: 1713413859056,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97b9cabf-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline",
          taskReferenceName: "inline_ref",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() *3) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  switch_ref: {
    taskType: "SWITCH",
    status: "COMPLETED",
    inputData: {
      hasChildren: "true",
      switchCaseValue: 1,
      _createdBy: "najeeb.thangal@orkes.io",
      case: "1",
    },
    referenceTaskName: "switch_ref__1",
    retryCount: 0,
    seq: 4,
    pollCount: 0,
    taskDefName: "SWITCH",
    scheduledTime: 1713413857015,
    startTime: 1713413857015,
    endTime: 1713413857015,
    updateTime: 1713413857015,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "968171ac-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      evaluationResult: ["1"],
      selectedCase: "1",
    },
    workflowTask: {
      name: "switch",
      taskReferenceName: "switch_ref",
      inputParameters: {
        switchCaseValue: "${inline_ref.output.result}",
      },
      type: "SWITCH",
      decisionCases: {
        1: [
          {
            name: "http_3",
            taskReferenceName: "http_ref_3",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        2: [
          {
            name: "http_2",
            taskReferenceName: "http_ref_2",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
      },
      defaultCase: [
        {
          name: "http_1",
          taskReferenceName: "http_ref_1",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      evaluatorType: "value-param",
      expression: "switchCaseValue",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__1",
        retryCount: 0,
        seq: 4,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857015,
        startTime: 1713413857015,
        endTime: 1713413857015,
        updateTime: 1713413857015,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "968171ac-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__2",
        retryCount: 0,
        seq: 8,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857270,
        startTime: 1713413857270,
        endTime: 1713413857270,
        updateTime: 1713413857270,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96a8f6e0-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref__3",
        retryCount: 0,
        seq: 12,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857488,
        startTime: 1713413857488,
        endTime: 1713413857488,
        updateTime: 1713413857488,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ca3a84-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__4",
        retryCount: 0,
        seq: 16,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857710,
        startTime: 1713413857711,
        endTime: 1713413857711,
        updateTime: 1713413857711,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ebf358-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 1,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__5",
        retryCount: 0,
        seq: 20,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413857953,
        startTime: 1713413857953,
        endTime: 1713413857953,
        updateTime: 1713413857953,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97112e9c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__6",
        retryCount: 0,
        seq: 24,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858204,
        startTime: 1713413858204,
        endTime: 1713413858204,
        updateTime: 1713413858204,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97377b50-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__7",
        retryCount: 0,
        seq: 28,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858412,
        startTime: 1713413858412,
        endTime: 1713413858412,
        updateTime: 1713413858412,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97571144-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref__8",
        retryCount: 0,
        seq: 32,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858625,
        startTime: 1713413858625,
        endTime: 1713413858625,
        updateTime: 1713413858625,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97779198-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref__9",
        retryCount: 0,
        seq: 36,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413858864,
        startTime: 1713413858864,
        endTime: 1713413858864,
        updateTime: 1713413858864,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979c098c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref__10",
        retryCount: 0,
        seq: 40,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859083,
        startTime: 1713413859083,
        endTime: 1713413859083,
        updateTime: 1713413859083,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97bd7440-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch",
          taskReferenceName: "switch_ref",
          inputParameters: {
            switchCaseValue: "${inline_ref.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            1: [
              {
                name: "http_3",
                taskReferenceName: "http_ref_3",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            2: [
              {
                name: "http_2",
                taskReferenceName: "http_ref_2",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
          },
          defaultCase: [
            {
              name: "http_1",
              taskReferenceName: "http_ref_1",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_3: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_3__1",
    retryCount: 0,
    seq: 5,
    pollCount: 1,
    taskDefName: "http_3",
    scheduledTime: 1713413857007,
    startTime: 1713413857108,
    endTime: 1713413857122,
    updateTime: 1713413857108,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "968171ad-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["180"],
          Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 47,
          hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
          randomString: "vxqmzdyagxmexnpbaiqd",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_3",
      taskReferenceName: "http_ref_3",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 101,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__1",
        retryCount: 0,
        seq: 5,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857007,
        startTime: 1713413857108,
        endTime: 1713413857122,
        updateTime: 1713413857108,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "968171ad-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["180"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 47,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "vxqmzdyagxmexnpbaiqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 101,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__4",
        retryCount: 0,
        seq: 17,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857705,
        startTime: 1713413857770,
        endTime: 1713413857805,
        updateTime: 1713413857770,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96ec1a69-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3964,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qsrrgcyapbgeuoceizaa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 65,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__5",
        retryCount: 0,
        seq: 21,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413857948,
        startTime: 1713413858015,
        endTime: 1713413858027,
        updateTime: 1713413858015,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97112e9d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 698,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "aobgjizxlwgiwdasfclh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 67,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__6",
        retryCount: 0,
        seq: 25,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413858199,
        startTime: 1713413858238,
        endTime: 1713413858249,
        updateTime: 1713413858238,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97377b51-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2489,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "vbksjctcduvxcucqtykv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 39,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_3__9",
        retryCount: 0,
        seq: 37,
        pollCount: 1,
        taskDefName: "http_3",
        scheduledTime: 1713413858858,
        startTime: 1713413858917,
        endTime: 1713413858928,
        updateTime: 1713413858917,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "979c098d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1122,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "qixyannkpllogxldfyqi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_3",
          taskReferenceName: "http_ref_3",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 59,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_10: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_10__1",
    retryCount: 0,
    seq: 6,
    pollCount: 1,
    taskDefName: "http_10",
    scheduledTime: 1713413857128,
    startTime: 1713413857218,
    endTime: 1713413857230,
    updateTime: 1713413857218,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "9693e83e-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 7523,
          hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
          randomString: "rzlozabxrltfkexdijot",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_10",
      taskReferenceName: "http_ref_10",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 1,
    subworkflowChanged: false,
    queueWaitTime: 90,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__1",
        retryCount: 0,
        seq: 6,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857128,
        startTime: 1713413857218,
        endTime: 1713413857230,
        updateTime: 1713413857218,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9693e83e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7523,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "rzlozabxrltfkexdijot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 90,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__2",
        retryCount: 0,
        seq: 10,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857348,
        startTime: 1713413857439,
        endTime: 1713413857451,
        updateTime: 1713413857439,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96b5a112-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9295,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "bgnycyjkhkdmiqsnjpcm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 91,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__3",
        retryCount: 0,
        seq: 14,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857567,
        startTime: 1713413857659,
        endTime: 1713413857671,
        updateTime: 1713413857659,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96d70bc6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1008,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "drzushsnuxfkfbxjqvfh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__4",
        retryCount: 0,
        seq: 18,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413857810,
        startTime: 1713413857904,
        endTime: 1713413857915,
        updateTime: 1713413857904,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "96fc1ffa-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:37 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6761,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "taupmlrpyhpzpsulaxqo",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__5",
        retryCount: 0,
        seq: 22,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858034,
        startTime: 1713413858126,
        endTime: 1713413858139,
        updateTime: 1713413858126,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "971e4dfe-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 6970,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "igwwnykfobqdnkxmafab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__6",
        retryCount: 0,
        seq: 26,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858256,
        startTime: 1713413858349,
        endTime: 1713413858361,
        updateTime: 1713413858349,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97402de2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8930,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "purhjvrqkogxpcyjifxv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__7",
        retryCount: 0,
        seq: 30,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858478,
        startTime: 1713413858571,
        endTime: 1713413858583,
        updateTime: 1713413858571,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97620dc6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5965,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "cozkeartchukblaomchw",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__8",
        retryCount: 0,
        seq: 34,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858712,
        startTime: 1713413858806,
        endTime: 1713413858818,
        updateTime: 1713413858806,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9785c26a-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:38 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9726,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "qmkipozchmypxunkkkzd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__9",
        retryCount: 0,
        seq: 38,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413858936,
        startTime: 1713413859029,
        endTime: 1713413859040,
        updateTime: 1713413859029,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97a7c95e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2780,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "jklxzsbanazwjffbarxi",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_10__10",
        retryCount: 0,
        seq: 42,
        pollCount: 1,
        taskDefName: "http_10",
        scheduledTime: 1713413859158,
        startTime: 1713413859250,
        endTime: 1713413859260,
        updateTime: 1713413859250,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97c9d052-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 944,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "piubltpqkibleiqpmeno",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_10",
          taskReferenceName: "http_ref_10",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_4: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_4",
    retryCount: 0,
    seq: 43,
    pollCount: 1,
    taskDefName: "http_4",
    scheduledTime: 1713413859277,
    startTime: 1713413859361,
    endTime: 1713413859373,
    updateTime: 1713413859361,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97dbf8c3-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 5081,
          hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
          randomString: "yfxgvcpjtxnjlftbtcpr",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_4",
      taskReferenceName: "http_ref_4",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 84,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_4",
        retryCount: 0,
        seq: 43,
        pollCount: 1,
        taskDefName: "http_4",
        scheduledTime: 1713413859277,
        startTime: 1713413859361,
        endTime: 1713413859373,
        updateTime: 1713413859361,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97dbf8c3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5081,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "yfxgvcpjtxnjlftbtcpr",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_4",
          taskReferenceName: "http_ref_4",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 84,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
  do_while_ref_1: {
    taskType: "DO_WHILE",
    status: "COMPLETED",
    inputData: {
      number: 10,
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "do_while_ref_1",
    retryCount: 0,
    seq: 44,
    pollCount: 0,
    taskDefName: "do_while_1",
    scheduledTime: 1713413859382,
    startTime: 1713413859382,
    endTime: 1713413862160,
    updateTime: 1713413861832,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "97eb8924-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      1: {
        switch_ref_1: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        inline_ref_1: {
          result: 2,
        },
        http_ref_7: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9943,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "tjxztrsclyzabbqspjmv",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9428,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "lwfynuupwbgkcwgqemcs",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      2: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3723,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "kjmdqmvozujqsxupnlot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 154,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "obdruesgtvezidzuenhu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 1892,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "heqrbsinaexemndlvmcp",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      3: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7080,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "cuurineeimzdpveetkte",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9931,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "ktrbhjusvnttizwmopxg",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3569,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "rbeetiujrcnurymrqpvl",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      4: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8155,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "tniyursobyqwmcgnfxcj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5254,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "fqlewtggkleyvghxoyqd",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7061,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "ixireilwipqxtseivuxm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      5: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5878,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "bksldazxfxhyoyefvrxf",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2932,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "djokkjixbuwxlsstoaab",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9316,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "dytnpkdddlzmtzlwfpal",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      6: {
        switch_ref_1: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        inline_ref_1: {
          result: 4,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4089,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "khrlsfsjmhvsjgtshbfz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      7: {
        switch_ref_1: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        inline_ref_1: {
          result: 4,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8433,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "nwltborbttslioxepwhe",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      8: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 242,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "idkvujpflbawjvbtcqol",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5914,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "sccygcowawimarjtitnq",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2173,
              hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
              randomString: "saxapbpahdmmtpavvjlm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      9: {
        switch_ref_1: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        inline_ref_1: {
          result: 1,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4359,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "lmbrmrnefvkwwwbmvolm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 395,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "myxiwwnhjbxhdwkfwmzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2885,
              hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
              randomString: "ykuzzhmdpvfcragcwxoh",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      10: {
        switch_ref_1: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        inline_ref_1: {
          result: 3,
        },
        http_ref_8: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4274,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "kwmoumdlucxuwgphkxaj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_5: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5175,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "enhhdgrjmtgntufhymzm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        http_ref_6: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4750,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "oeenqbhrzifhhetyzpcu",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
      },
      iteration: 10,
    },
    workflowTask: {
      name: "do_while_1",
      taskReferenceName: "do_while_ref_1",
      inputParameters: {
        number: 10,
      },
      type: "DO_WHILE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopCondition:
        "(function () {\n  if ($.do_while_ref_1['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
      loopOver: [
        {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      evaluatorType: "graaljs",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 1,
    workflowPriority: 0,
    iteration: 10,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "DO_WHILE",
        status: "COMPLETED",
        inputData: {
          number: 10,
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "do_while_ref_1",
        retryCount: 0,
        seq: 44,
        pollCount: 0,
        taskDefName: "do_while_1",
        scheduledTime: 1713413859382,
        startTime: 1713413859382,
        endTime: 1713413862160,
        updateTime: 1713413861832,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97eb8924-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          1: {
            switch_ref_1: {
              evaluationResult: ["2"],
              selectedCase: "2",
            },
            inline_ref_1: {
              result: 2,
            },
            http_ref_7: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9943,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "tjxztrsclyzabbqspjmv",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9428,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "lwfynuupwbgkcwgqemcs",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          2: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3723,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "kjmdqmvozujqsxupnlot",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 154,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "obdruesgtvezidzuenhu",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 1892,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "heqrbsinaexemndlvmcp",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          3: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7080,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "cuurineeimzdpveetkte",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9931,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "ktrbhjusvnttizwmopxg",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 3569,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "rbeetiujrcnurymrqpvl",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          4: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8155,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "tniyursobyqwmcgnfxcj",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5254,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "fqlewtggkleyvghxoyqd",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 7061,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "ixireilwipqxtseivuxm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          5: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5878,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "bksldazxfxhyoyefvrxf",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2932,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "djokkjixbuwxlsstoaab",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 9316,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "dytnpkdddlzmtzlwfpal",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          6: {
            switch_ref_1: {
              evaluationResult: ["4"],
              selectedCase: "4",
            },
            inline_ref_1: {
              result: 4,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4089,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "khrlsfsjmhvsjgtshbfz",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          7: {
            switch_ref_1: {
              evaluationResult: ["4"],
              selectedCase: "4",
            },
            inline_ref_1: {
              result: 4,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 8433,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "nwltborbttslioxepwhe",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          8: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 242,
                  hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
                  randomString: "idkvujpflbawjvbtcqol",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5914,
                  hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
                  randomString: "sccygcowawimarjtitnq",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2173,
                  hostName: "orkes-api-sampler-67dfc8cf58-q2zd8",
                  randomString: "saxapbpahdmmtpavvjlm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          9: {
            switch_ref_1: {
              evaluationResult: ["1"],
              selectedCase: "1",
            },
            inline_ref_1: {
              result: 1,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4359,
                  hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
                  randomString: "lmbrmrnefvkwwwbmvolm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["181"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 395,
                  hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
                  randomString: "myxiwwnhjbxhdwkfwmzm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 2885,
                  hostName: "orkes-api-sampler-67dfc8cf58-nrj8r",
                  randomString: "ykuzzhmdpvfcragcwxoh",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          10: {
            switch_ref_1: {
              evaluationResult: ["3"],
              selectedCase: "3",
            },
            inline_ref_1: {
              result: 3,
            },
            http_ref_8: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4274,
                  hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
                  randomString: "kwmoumdlucxuwgphkxaj",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_5: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 5175,
                  hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
                  randomString: "enhhdgrjmtgntufhymzm",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
            http_ref_6: {
              response: {
                headers: {
                  "Strict-Transport-Security": [
                    "max-age=15724800; includeSubDomains",
                  ],
                  Connection: ["keep-alive"],
                  "Content-Length": ["182"],
                  Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
                  "Content-Type": ["application/json"],
                },
                reasonPhrase: "OK",
                body: {
                  randomInt: 4750,
                  hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
                  randomString: "oeenqbhrzifhhetyzpcu",
                  queryParams: {},
                  sleepFor: "0 ms",
                  apiRandomDelay: "0 ms",
                  statusCode: "200",
                },
                statusCode: 200,
              },
            },
          },
          iteration: 10,
        },
        workflowTask: {
          name: "do_while_1",
          taskReferenceName: "do_while_ref_1",
          inputParameters: {
            number: 10,
          },
          type: "DO_WHILE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopCondition:
            "(function () {\n  if ($.do_while_ref_1['iteration'] < $.number) {\n    return true;\n  }\n  return false;\n})();",
          loopOver: [
            {
              name: "inline_1",
              taskReferenceName: "inline_ref_1",
              inputParameters: {
                evaluatorType: "graaljs",
                expression:
                  "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
              },
              type: "INLINE",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "switch_1",
              taskReferenceName: "switch_ref_1",
              inputParameters: {
                switchCaseValue: "${inline_ref_1.output.result}",
              },
              type: "SWITCH",
              decisionCases: {
                2: [
                  {
                    name: "http_7",
                    taskReferenceName: "http_ref_7",
                    inputParameters: {
                      method: "GET",
                      asyncComplete: false,
                      readTimeOut: "3000",
                      uri: "https://orkes-api-tester.orkesconductor.com/api",
                      connectionTimeOut: 3000,
                      contentType: "application/json",
                      accept: "application/json",
                    },
                    type: "HTTP",
                    decisionCases: {},
                    defaultCase: [],
                    forkTasks: [],
                    startDelay: 0,
                    joinOn: [],
                    optional: false,
                    rateLimited: false,
                    defaultExclusiveJoinTask: [],
                    asyncComplete: false,
                    loopOver: [],
                    onStateChange: {},
                  },
                ],
                4: [],
              },
              defaultCase: [
                {
                  name: "http_5",
                  taskReferenceName: "http_ref_5",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
                {
                  name: "http_6",
                  taskReferenceName: "http_ref_6",
                  inputParameters: {
                    method: "GET",
                    asyncComplete: false,
                    readTimeOut: "3000",
                    uri: "https://orkes-api-tester.orkesconductor.com/api",
                    connectionTimeOut: 3000,
                    contentType: "application/json",
                    accept: "application/json",
                  },
                  type: "HTTP",
                  decisionCases: {},
                  defaultCase: [],
                  forkTasks: [],
                  startDelay: 0,
                  joinOn: [],
                  optional: false,
                  rateLimited: false,
                  defaultExclusiveJoinTask: [],
                  asyncComplete: false,
                  loopOver: [],
                  onStateChange: {},
                },
              ],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              evaluatorType: "value-param",
              expression: "switchCaseValue",
              onStateChange: {},
            },
            {
              name: "http_8",
              taskReferenceName: "http_ref_8",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          evaluatorType: "graaljs",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 1,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  inline_ref_1: {
    taskType: "INLINE",
    status: "COMPLETED",
    inputData: {
      evaluatorType: "graaljs",
      expression:
        "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
      _createdBy: "najeeb.thangal@orkes.io",
    },
    referenceTaskName: "inline_ref_1__6",
    retryCount: 0,
    seq: 69,
    pollCount: 0,
    taskDefName: "inline_1",
    scheduledTime: 1713413860941,
    startTime: 1713413860941,
    endTime: 1713413860957,
    updateTime: 1713413860941,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "98d96bad-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      result: 4,
    },
    workflowTask: {
      name: "inline_1",
      taskReferenceName: "inline_ref_1",
      inputParameters: {
        evaluatorType: "graaljs",
        expression:
          "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
      },
      type: "INLINE",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 6,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__1",
        retryCount: 0,
        seq: 45,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859386,
        startTime: 1713413859386,
        endTime: 1713413859402,
        updateTime: 1713413859386,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97ec2565-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 2,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__2",
        retryCount: 0,
        seq: 49,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859617,
        startTime: 1713413859617,
        endTime: 1713413859629,
        updateTime: 1713413859617,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "980f64d9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__3",
        retryCount: 0,
        seq: 54,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413859945,
        startTime: 1713413859945,
        endTime: 1713413859959,
        updateTime: 1713413859945,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9841715e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__4",
        retryCount: 0,
        seq: 59,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860274,
        startTime: 1713413860274,
        endTime: 1713413860287,
        updateTime: 1713413860274,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9873a4f3-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__5",
        retryCount: 0,
        seq: 64,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860607,
        startTime: 1713413860607,
        endTime: 1713413860621,
        updateTime: 1713413860607,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a69bd8-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__6",
        retryCount: 0,
        seq: 69,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413860941,
        startTime: 1713413860941,
        endTime: 1713413860957,
        updateTime: 1713413860941,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98d96bad-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 4,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__7",
        retryCount: 0,
        seq: 72,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861052,
        startTime: 1713413861052,
        endTime: 1713413861070,
        updateTime: 1713413861052,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ea3490-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 4,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__8",
        retryCount: 0,
        seq: 75,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861161,
        startTime: 1713413861161,
        endTime: 1713413861175,
        updateTime: 1713413861161,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fafd73-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__9",
        retryCount: 0,
        seq: 80,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861496,
        startTime: 1713413861497,
        endTime: 1713413861510,
        updateTime: 1713413861497,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "992e4278-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 1,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 1,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "INLINE",
        status: "COMPLETED",
        inputData: {
          evaluatorType: "graaljs",
          expression:
            "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          _createdBy: "najeeb.thangal@orkes.io",
        },
        referenceTaskName: "inline_ref_1__10",
        retryCount: 0,
        seq: 85,
        pollCount: 0,
        taskDefName: "inline_1",
        scheduledTime: 1713413861829,
        startTime: 1713413861829,
        endTime: 1713413861842,
        updateTime: 1713413861829,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9960760d-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          result: 3,
        },
        workflowTask: {
          name: "inline_1",
          taskReferenceName: "inline_ref_1",
          inputParameters: {
            evaluatorType: "graaljs",
            expression:
              "(function () {\n  return Math.floor(Math.random() * 4) + 1;\n})();",
          },
          type: "INLINE",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  switch_ref_1: {
    taskType: "SWITCH",
    status: "COMPLETED",
    inputData: {
      switchCaseValue: 4,
      _createdBy: "najeeb.thangal@orkes.io",
      case: "4",
    },
    referenceTaskName: "switch_ref_1__6",
    retryCount: 0,
    seq: 70,
    pollCount: 0,
    taskDefName: "SWITCH",
    scheduledTime: 1713413860963,
    startTime: 1713413860963,
    endTime: 1713413860963,
    updateTime: 1713413860963,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "98dcc70e-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    outputData: {
      evaluationResult: ["4"],
      selectedCase: "4",
    },
    workflowTask: {
      name: "switch_1",
      taskReferenceName: "switch_ref_1",
      inputParameters: {
        switchCaseValue: "${inline_ref_1.output.result}",
      },
      type: "SWITCH",
      decisionCases: {
        2: [
          {
            name: "http_7",
            taskReferenceName: "http_ref_7",
            inputParameters: {
              method: "GET",
              asyncComplete: false,
              readTimeOut: "3000",
              uri: "https://orkes-api-tester.orkesconductor.com/api",
              connectionTimeOut: 3000,
              contentType: "application/json",
              accept: "application/json",
            },
            type: "HTTP",
            decisionCases: {},
            defaultCase: [],
            forkTasks: [],
            startDelay: 0,
            joinOn: [],
            optional: false,
            rateLimited: false,
            defaultExclusiveJoinTask: [],
            asyncComplete: false,
            loopOver: [],
            onStateChange: {},
          },
        ],
        4: [],
      },
      defaultCase: [
        {
          name: "http_5",
          taskReferenceName: "http_ref_5",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        {
          name: "http_6",
          taskReferenceName: "http_ref_6",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
      ],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      evaluatorType: "value-param",
      expression: "switchCaseValue",
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 6,
    subworkflowChanged: false,
    queueWaitTime: 0,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 2,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "2",
        },
        referenceTaskName: "switch_ref_1__1",
        retryCount: 0,
        seq: 46,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859413,
        startTime: 1713413859413,
        endTime: 1713413859413,
        updateTime: 1713413859413,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97ef80c6-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["2"],
          selectedCase: "2",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__2",
        retryCount: 0,
        seq: 50,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859637,
        startTime: 1713413859637,
        endTime: 1713413859637,
        updateTime: 1713413859637,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9811fcea-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__3",
        retryCount: 0,
        seq: 55,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413859968,
        startTime: 1713413859968,
        endTime: 1713413859968,
        updateTime: 1713413859968,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98447e9f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__4",
        retryCount: 0,
        seq: 60,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860295,
        startTime: 1713413860295,
        endTime: 1713413860295,
        updateTime: 1713413860295,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98768b24-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__5",
        retryCount: 0,
        seq: 65,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860629,
        startTime: 1713413860629,
        endTime: 1713413860629,
        updateTime: 1713413860629,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98a98209-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          switchCaseValue: 4,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "4",
        },
        referenceTaskName: "switch_ref_1__6",
        retryCount: 0,
        seq: 70,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413860963,
        startTime: 1713413860963,
        endTime: 1713413860963,
        updateTime: 1713413860963,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98dcc70e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          switchCaseValue: 4,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "4",
        },
        referenceTaskName: "switch_ref_1__7",
        retryCount: 0,
        seq: 73,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861076,
        startTime: 1713413861076,
        endTime: 1713413861076,
        updateTime: 1713413861076,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ee0521-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["4"],
          selectedCase: "4",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__8",
        retryCount: 0,
        seq: 76,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861183,
        startTime: 1713413861183,
        endTime: 1713413861183,
        updateTime: 1713413861183,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98fe0ab4-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 1,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "1",
        },
        referenceTaskName: "switch_ref_1__9",
        retryCount: 0,
        seq: 81,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861520,
        startTime: 1713413861520,
        endTime: 1713413861520,
        updateTime: 1713413861520,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "993128a9-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["1"],
          selectedCase: "1",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "SWITCH",
        status: "COMPLETED",
        inputData: {
          hasChildren: "true",
          switchCaseValue: 3,
          _createdBy: "najeeb.thangal@orkes.io",
          case: "3",
        },
        referenceTaskName: "switch_ref_1__10",
        retryCount: 0,
        seq: 86,
        pollCount: 0,
        taskDefName: "SWITCH",
        scheduledTime: 1713413861851,
        startTime: 1713413861851,
        endTime: 1713413861851,
        updateTime: 1713413861851,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "9963d16e-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        outputData: {
          evaluationResult: ["3"],
          selectedCase: "3",
        },
        workflowTask: {
          name: "switch_1",
          taskReferenceName: "switch_ref_1",
          inputParameters: {
            switchCaseValue: "${inline_ref_1.output.result}",
          },
          type: "SWITCH",
          decisionCases: {
            2: [
              {
                name: "http_7",
                taskReferenceName: "http_ref_7",
                inputParameters: {
                  method: "GET",
                  asyncComplete: false,
                  readTimeOut: "3000",
                  uri: "https://orkes-api-tester.orkesconductor.com/api",
                  connectionTimeOut: 3000,
                  contentType: "application/json",
                  accept: "application/json",
                },
                type: "HTTP",
                decisionCases: {},
                defaultCase: [],
                forkTasks: [],
                startDelay: 0,
                joinOn: [],
                optional: false,
                rateLimited: false,
                defaultExclusiveJoinTask: [],
                asyncComplete: false,
                loopOver: [],
                onStateChange: {},
              },
            ],
            4: [],
          },
          defaultCase: [
            {
              name: "http_5",
              taskReferenceName: "http_ref_5",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
            {
              name: "http_6",
              taskReferenceName: "http_ref_6",
              inputParameters: {
                method: "GET",
                asyncComplete: false,
                readTimeOut: "3000",
                uri: "https://orkes-api-tester.orkesconductor.com/api",
                connectionTimeOut: 3000,
                contentType: "application/json",
                accept: "application/json",
              },
              type: "HTTP",
              decisionCases: {},
              defaultCase: [],
              forkTasks: [],
              startDelay: 0,
              joinOn: [],
              optional: false,
              rateLimited: false,
              defaultExclusiveJoinTask: [],
              asyncComplete: false,
              loopOver: [],
              onStateChange: {},
            },
          ],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          evaluatorType: "value-param",
          expression: "switchCaseValue",
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 0,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_8: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_8__6",
    retryCount: 0,
    seq: 71,
    pollCount: 1,
    taskDefName: "http_8",
    scheduledTime: 1713413860970,
    startTime: 1713413861025,
    endTime: 1713413861036,
    updateTime: 1713413861025,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "98de269f-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 4089,
          hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
          randomString: "khrlsfsjmhvsjgtshbfz",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_8",
      taskReferenceName: "http_ref_8",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 6,
    subworkflowChanged: false,
    queueWaitTime: 55,
    loopOverTask: true,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__1",
        retryCount: 0,
        seq: 48,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413859490,
        startTime: 1713413859583,
        endTime: 1713413859594,
        updateTime: 1713413859583,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "97fc7918-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 9428,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "lwfynuupwbgkcwgqemcs",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 1,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__2",
        retryCount: 0,
        seq: 53,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413859823,
        startTime: 1713413859916,
        endTime: 1713413859927,
        updateTime: 1713413859916,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "982f48ed-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:39 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 3723,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "kjmdqmvozujqsxupnlot",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 2,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__3",
        retryCount: 0,
        seq: 58,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860156,
        startTime: 1713413860248,
        endTime: 1713413860259,
        updateTime: 1713413860248,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "986218c2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 7080,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "cuurineeimzdpveetkte",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 3,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__4",
        retryCount: 0,
        seq: 63,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860487,
        startTime: 1713413860580,
        endTime: 1713413860592,
        updateTime: 1713413860580,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98949a77-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8155,
              hostName: "orkes-api-sampler-67dfc8cf58-nt2wk",
              randomString: "tniyursobyqwmcgnfxcj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 4,
        subworkflowChanged: false,
        queueWaitTime: 93,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__5",
        retryCount: 0,
        seq: 68,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860819,
        startTime: 1713413860914,
        endTime: 1713413860925,
        updateTime: 1713413860914,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98c7433c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:40 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 5878,
              hostName: "orkes-api-sampler-67dfc8cf58-chmzf",
              randomString: "bksldazxfxhyoyefvrxf",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 5,
        subworkflowChanged: false,
        queueWaitTime: 95,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__6",
        retryCount: 0,
        seq: 71,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413860970,
        startTime: 1713413861025,
        endTime: 1713413861036,
        updateTime: 1713413861025,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98de269f-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4089,
              hostName: "orkes-api-sampler-67dfc8cf58-spxdt",
              randomString: "khrlsfsjmhvsjgtshbfz",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 6,
        subworkflowChanged: false,
        queueWaitTime: 55,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__7",
        retryCount: 0,
        seq: 74,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861082,
        startTime: 1713413861136,
        endTime: 1713413861147,
        updateTime: 1713413861136,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "98ef64b2-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 8433,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "nwltborbttslioxepwhe",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 7,
        subworkflowChanged: false,
        queueWaitTime: 54,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__8",
        retryCount: 0,
        seq: 79,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861375,
        startTime: 1713413861467,
        endTime: 1713413861478,
        updateTime: 1713413861467,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "991c1a07-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["181"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 242,
              hostName: "orkes-api-sampler-67dfc8cf58-tp2s8",
              randomString: "idkvujpflbawjvbtcqol",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 8,
        subworkflowChanged: false,
        queueWaitTime: 92,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__9",
        retryCount: 0,
        seq: 84,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413861704,
        startTime: 1713413861798,
        endTime: 1713413861810,
        updateTime: 1713413861798,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "994e4d9c-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:41 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4359,
              hostName: "orkes-api-sampler-67dfc8cf58-lp2np",
              randomString: "lmbrmrnefvkwwwbmvolm",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 9,
        subworkflowChanged: false,
        queueWaitTime: 94,
        loopOverTask: true,
        taskDefinition: null,
      },
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_8__10",
        retryCount: 0,
        seq: 89,
        pollCount: 1,
        taskDefName: "http_8",
        scheduledTime: 1713413862045,
        startTime: 1713413862132,
        endTime: 1713413862145,
        updateTime: 1713413862132,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "998255f1-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 4274,
              hostName: "orkes-api-sampler-67dfc8cf58-7ckpj",
              randomString: "kwmoumdlucxuwgphkxaj",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_8",
          taskReferenceName: "http_ref_8",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 10,
        subworkflowChanged: false,
        queueWaitTime: 87,
        loopOverTask: true,
        taskDefinition: null,
      },
    ],
  },
  http_ref_9: {
    taskType: "HTTP",
    status: "COMPLETED",
    inputData: {
      method: "GET",
      asyncComplete: false,
      readTimeOut: "3000",
      _createdBy: "najeeb.thangal@orkes.io",
      uri: "https://orkes-api-tester.orkesconductor.com/api",
      connectionTimeOut: 3000,
      contentType: "application/json",
      accept: "application/json",
    },
    referenceTaskName: "http_ref_9",
    retryCount: 0,
    seq: 90,
    pollCount: 1,
    taskDefName: "http_9",
    scheduledTime: 1713413862163,
    startTime: 1713413862244,
    endTime: 1713413862258,
    updateTime: 1713413862244,
    startDelayInSeconds: 0,
    retried: false,
    executed: true,
    callbackFromWorker: true,
    responseTimeoutSeconds: 0,
    workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
    workflowType: "najeeb_test_do_while_iteration",
    taskId: "99945752-fd3a-11ee-8cfe-9245dc979bb3",
    callbackAfterSeconds: 0,
    workerId: "orkes-workers-deployment-d57759b85-h87xg",
    outputData: {
      response: {
        headers: {
          "Strict-Transport-Security": ["max-age=15724800; includeSubDomains"],
          Connection: ["keep-alive"],
          "Content-Length": ["182"],
          Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
          "Content-Type": ["application/json"],
        },
        reasonPhrase: "OK",
        body: {
          randomInt: 2042,
          hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
          randomString: "xwadanvnxdolxjqnchsa",
          queryParams: {},
          sleepFor: "0 ms",
          apiRandomDelay: "0 ms",
          statusCode: "200",
        },
        statusCode: 200,
      },
    },
    workflowTask: {
      name: "http_9",
      taskReferenceName: "http_ref_9",
      inputParameters: {
        method: "GET",
        asyncComplete: false,
        readTimeOut: "3000",
        uri: "https://orkes-api-tester.orkesconductor.com/api",
        connectionTimeOut: 3000,
        contentType: "application/json",
        accept: "application/json",
      },
      type: "HTTP",
      decisionCases: {},
      defaultCase: [],
      forkTasks: [],
      startDelay: 0,
      joinOn: [],
      optional: false,
      rateLimited: false,
      defaultExclusiveJoinTask: [],
      asyncComplete: false,
      loopOver: [],
      onStateChange: {},
    },
    rateLimitPerFrequency: 0,
    rateLimitFrequencyInSeconds: 0,
    workflowPriority: 0,
    iteration: 0,
    subworkflowChanged: false,
    queueWaitTime: 81,
    loopOverTask: false,
    taskDefinition: null,
    loopOver: [
      {
        taskType: "HTTP",
        status: "COMPLETED",
        inputData: {
          method: "GET",
          asyncComplete: false,
          readTimeOut: "3000",
          _createdBy: "najeeb.thangal@orkes.io",
          uri: "https://orkes-api-tester.orkesconductor.com/api",
          connectionTimeOut: 3000,
          contentType: "application/json",
          accept: "application/json",
        },
        referenceTaskName: "http_ref_9",
        retryCount: 0,
        seq: 90,
        pollCount: 1,
        taskDefName: "http_9",
        scheduledTime: 1713413862163,
        startTime: 1713413862244,
        endTime: 1713413862258,
        updateTime: 1713413862244,
        startDelayInSeconds: 0,
        retried: false,
        executed: true,
        callbackFromWorker: true,
        responseTimeoutSeconds: 0,
        workflowInstanceId: "965f1c98-fd3a-11ee-8cfe-9245dc979bb3",
        workflowType: "najeeb_test_do_while_iteration",
        taskId: "99945752-fd3a-11ee-8cfe-9245dc979bb3",
        callbackAfterSeconds: 0,
        workerId: "orkes-workers-deployment-d57759b85-h87xg",
        outputData: {
          response: {
            headers: {
              "Strict-Transport-Security": [
                "max-age=15724800; includeSubDomains",
              ],
              Connection: ["keep-alive"],
              "Content-Length": ["182"],
              Date: ["Thu, 18 Apr 2024 04:17:42 GMT"],
              "Content-Type": ["application/json"],
            },
            reasonPhrase: "OK",
            body: {
              randomInt: 2042,
              hostName: "orkes-api-sampler-67dfc8cf58-psd9l",
              randomString: "xwadanvnxdolxjqnchsa",
              queryParams: {},
              sleepFor: "0 ms",
              apiRandomDelay: "0 ms",
              statusCode: "200",
            },
            statusCode: 200,
          },
        },
        workflowTask: {
          name: "http_9",
          taskReferenceName: "http_ref_9",
          inputParameters: {
            method: "GET",
            asyncComplete: false,
            readTimeOut: "3000",
            uri: "https://orkes-api-tester.orkesconductor.com/api",
            connectionTimeOut: 3000,
            contentType: "application/json",
            accept: "application/json",
          },
          type: "HTTP",
          decisionCases: {},
          defaultCase: [],
          forkTasks: [],
          startDelay: 0,
          joinOn: [],
          optional: false,
          rateLimited: false,
          defaultExclusiveJoinTask: [],
          asyncComplete: false,
          loopOver: [],
          onStateChange: {},
        },
        rateLimitPerFrequency: 0,
        rateLimitFrequencyInSeconds: 0,
        workflowPriority: 0,
        iteration: 0,
        subworkflowChanged: false,
        queueWaitTime: 81,
        loopOverTask: false,
        taskDefinition: null,
      },
    ],
  },
};
