Get Detailed Workflow Step History Record

The Luma Automation API ‘WorkflowStepHistory’ can also be used to fetch the execution details for individual steps executed as part of the Automation workflow. Based on the Step History ID, the web service can get the execution details such as trace log, runtime info for any step in the workflow. The web service uses Workflow Trigger ID and Step History ID as the input parameter and returns the execution details as a response in JSON format.

Use the following details to configure API:

  1. Capture the tenant access token created during the Automation tenant provisioning. This token is sent as the Header to the API. Header → itas-api-access-key: <Tenant Access Token>.
    You can also use Regenerate Tenant Access Token API to regenerate and fetch the tenant access token.

  2. URI: /gateway/api/v1/workflowhistory/<Trigger ID>/stephistory/<Step History ID>
    The Trigger ID is generated when the Workflow is Automation Workflow is triggered. You can use Trigger Workflow API to trigger the workflow and fetch the Trigger ID. When the Workflow is triggered, each step executed is assigned a Step History ID. You can use Get Workflow Step History RecordsTrigger Workflow API to fetch the History ID for the required step.

    Example URI: GET api/v1/workflowhistory/d9bf533e-cc29-4efe-a0e7-df4aef85cbc0/stephistory/800

  3. HTTP Method for the operation: GET

  4. As a response, the web service fetched the latest execution details for the specific step in the Automation Workflow. Response from the web service is received in the following format:

    { "status": "Success", "statusCode": 0, "statusLine": "Successfully retrieved workflow step history record.", "errors": null, "resultData": { "activityName": "get user", "activityId": "Activity_0onlkqz", "activityType": "serviceTask", "startTime": 1641823983894, "endTime": 1641823986906, "status": "COMPLETED", "totalAttempts": 1, "timeSpent": 3012, // activityRuntimeAttributes contains the values of various process parameters, like step input and output parameters, workflow variables set "activityRuntimeAttributes": "{\"inputParameters\": [{\"value\": \"kishore\", \"caption\": \"Account/user name\", \"dataType\": \"TEXT\", \"parameter\": \"sam_account_name\", \"description\": \"\"}], \"outputParameters\": [{\"value\": \"#< CLIXML\\r\\n<Objs Version=\\\"1.1.0.1\\\" xmlns=\\\http://schemas.microsoft.com/powershell/2004/04\\\><Obj S=\\\"progress\\\" RefId=\\\"0\\\"><TN RefId=\\\"0\\\"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>0</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"1\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>25</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"2\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>50</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"3\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>75</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"4\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>100</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"5\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>100</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"6\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">2</I64><PR N=\\\"Record\\\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>\", \"caption\": \"error\", \"dataType\": \"TEXT\", \"parameter\": \"stdErr\", \"description\": \"\"}, {\"value\": \"{\\\"GivenName\\\":\\\"kishore\\\",\\\"Surname\\\":\\\"surisetty\\\",\\\"UserPrincipalName\\\":\\\kishore@automationsaqa1.com\\\,\\\"Enabled\\\":true,\\\"SamAccountName\\\":\\\"kishore\\\",\\\"SID\\\":{\\\"BinaryLength\\\":28,\\\"AccountDomainSid\\\":{\\\"BinaryLength\\\":24,\\\"AccountDomainSid\\\":\\\"S-1-5-21-3663680852-652122455-1283474182\\\",\\\"Value\\\":\\\"S-1-5-21-3663680852-652122455-1283474182\\\"},\\\"Value\\\":\\\"S-1-5-21-3663680852-652122455-1283474182-2736\\\"},\\\"DistinguishedName\\\":\\\"CN=kishore,CN=Users,DC=automationsaqa1,DC=com\\\",\\\"Name\\\":\\\"kishore\\\",\\\"ObjectClass\\\":\\\"user\\\",\\\"ObjectGuid\\\":\\\"e7b88df3-1c81-475d-b8d4-d78fe40029b8\\\",\\\"PropertyNames\\\":[\\\"DistinguishedName\\\",\\\"EmailAddress\\\",\\\"Enabled\\\",\\\"GivenName\\\",\\\"MobilePhone\\\",\\\"Name\\\",\\\"ObjectClass\\\",\\\"ObjectGUID\\\",\\\"SamAccountName\\\",\\\"SID\\\",\\\"Surname\\\",\\\"UserPrincipalName\\\"],\\\"AddedProperties\\\":[],\\\"RemovedProperties\\\":[],\\\"ModifiedProperties\\\":[],\\\"PropertyCount\\\":12,\\\"EmailAddress\\\":null,\\\"MobilePhone\\\":\\\"9160905020\\\",\\\"ObjectGUID\\\":\\\"e7b88df3-1c81-475d-b8d4-d78fe40029b8\\\"}\\r\\n\", \"caption\": \"Std Out\", \"dataType\": \"TEXT\", \"parameter\": \"stdOut\", \"description\": \"\"}, {\"value\": \"9160905020\", \"caption\": \"mobile number\", \"dataType\": \"TEXT\", \"parameter\": \"mobileNumber\", \"description\": \"\"}, {\"value\": \"kishore\", \"caption\": \"Given Name\", \"dataType\": \"TEXT\", \"parameter\": \"givenName\", \"description\": \"\"}, {\"value\": \"surisetty\", \"caption\": \"Sur name\", \"dataType\": \"TEXT\", \"parameter\": \"surname\", \"description\": \"\"}, {\"value\": \kishore@automationsaqa1.com\, \"caption\": \"User Principal Name\", \"dataType\": \"TEXT\", \"parameter\": \"userPrincipalName\", \"description\": \"\"}, {\"value\": \"CN=kishore,CN=Users,DC=automationsaqa1,DC=com\", \"caption\": \"Distinguished Name\", \"dataType\": \"TEXT\", \"parameter\": \"distinguishedName\", \"description\": \"\"}, {\"value\": \"kishore\", \"caption\": \"Name\", \"dataType\": \"TEXT\", \"parameter\": \"name\", \"description\": \"\"}, {\"value\": \"e7b88df3-1c81-475d-b8d4-d78fe40029b8\", \"caption\": \"ObjectGuid\", \"dataType\": \"TEXT\", \"parameter\": \"objectGuid\", \"description\": \"\"}, {\"value\": \"kishore\", \"caption\": \"SamAccountName\", \"dataType\": \"TEXT\", \"parameter\": \"samAccountName\", \"description\": \"\"}, {\"value\": null, \"caption\": \"EmailAddress\", \"dataType\": \"TEXT\", \"parameter\": \"emailAddress\", \"description\": \"\"}], \"workflowConstants\": [], \"workflowVariables\": [{\"value\": \"\", \"caption\": null, \"dataType\": \"BOOLEAN\", \"parameter\": \"workflow variable1\", \"description\": null}, {\"value\": \"\", \"caption\": null, \"dataType\": \"BOOLEAN\", \"parameter\": \"workflow variable1\", \"description\": null}], \"outputMetaParameters\": []}", // traceLog contains the detailed log of the step execution. For example: Integration Request, Response and Error (if occurred) in case of Service Task "traceLog": "{\"errorInfo\": {\"exception\": null, \"businessFault\": null, \"raisedIncident\": false, \"technicalFault\": null, \"incidentMessage\": null, \"exceptionMessage\": null}, \"integrationRequest\": {\"endpointInfo\": {\"protocol\": \"REST\", \"connectorId\": \"4973623f-b152-11eb-a6d5-00ff3cb22a7a\", \"connectorName\": \"MuleSoft Connector\", \"connectorType\": \"MuleSoft\", \"integrationMethod\": \"API\", \"connectorOperationId\": \"invokeMuleSoftRequest\", \"fulfillmentSystemName\": \"esa-ldap\", \"integrationMethodDisplayName\": \"MuleSoft\", \"fulfillmentSystemInstanceName\": \"localhost\", \"fulfillmentSystemOperationName\": \"Get User Details\", \"fulfillmentSystemInstanceLocation\": \"CLOUD\"}, \"requestConfig\": {\"request\": \"{\\\"tenantId\\\":1000,\\\"userId\\\":-1,\\\"subTenantId\\\":1,\\\"connectorId\\\":\\\"4973623f-b152-11eb-a6d5-00ff3cb22a7a\\\",\\\"targetOperationId\\\":\\\"invokeMuleSoftRequest\\\",\\\"body\\\":\\\"{\\\\\\\"muleOperationStatus\\\\\\\":\\\\\\\"NOT_SPECIFIED\\\\\\\",\\\\\\\"operationResponseBody\\\\\\\":null,\\\\\\\"executionId\\\\\\\":\\\\\\\"162558\\\\\\\",\\\\\\\"httpMethod\\\\\\\":\\\\\\\"POST\\\\\\\",\\\\\\\"endpointUri\\\\\\\":\\\\\\\"/9ac452bb-9732-4cf7-9945-219cabc543c0/esa-ldap/getUser\\\\\\\",\\\\\\\"instancePort\\\\\\\":8081,\\\\\\\"headers\\\\\\\":{},\\\\\\\"payload\\\\\\\":\\\\\\\"{ \\\\\\\\\\\\\\\"filter\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"{SamAccountName -eq 'kishore'}\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"timeout\\\\\\\":30000}\\\",\\\"serviceLocation\\\":\\\"CLOUD\\\",\\\"connectionProperties\\\":{},\\\"operationProperties\\\":{\\\"targetInstance\\\":\\\"localhost\\\",\\\"operationName\\\":\\\"Get User Details\\\",\\\"targetSystem\\\":\\\"esa-ldap\\\"},\\\"requestProperties\\\":{},\\\"connectorCache\\\":{},\\\"contentProfileType\\\":\\\"JSON\\\"}\", \"requestProperties\": {}, \"contentProfileType\": \"JSON\", \"interactionPattern\": \"REQUEST_REPLY\", \"operationProperties\": {}, \"connectionProperties\": {\"port\": 8081, \"serverAddress\": \"localhost\"}}}, \"integrationResponse\": {\"body\": \"{\\\"statusCode\\\":0,\\\"numberOfReceiveCalls\\\":1,\\\"stdOut\\\":\\\"{\\\\\\\"GivenName\\\\\\\":\\\\\\\"kishore\\\\\\\",\\\\\\\"Surname\\\\\\\":\\\\\\\"surisetty\\\\\\\",\\\\\\\"UserPrincipalName\\\\\\\":\\\\\\\kishore@automationsaqa1.com\\\\\\\,\\\\\\\"Enabled\\\\\\\":true,\\\\\\\"SamAccountName\\\\\\\":\\\\\\\"kishore\\\\\\\",\\\\\\\"SID\\\\\\\":{\\\\\\\"BinaryLength\\\\\\\":28,\\\\\\\"AccountDomainSid\\\\\\\":{\\\\\\\"BinaryLength\\\\\\\":24,\\\\\\\"AccountDomainSid\\\\\\\":\\\\\\\"S-1-5-21-3663680852-652122455-1283474182\\\\\\\",\\\\\\\"Value\\\\\\\":\\\\\\\"S-1-5-21-3663680852-652122455-1283474182\\\\\\\"},\\\\\\\"Value\\\\\\\":\\\\\\\"S-1-5-21-3663680852-652122455-1283474182-2736\\\\\\\"},\\\\\\\"DistinguishedName\\\\\\\":\\\\\\\"CN=kishore,CN=Users,DC=automationsaqa1,DC=com\\\\\\\",\\\\\\\"Name\\\\\\\":\\\\\\\"kishore\\\\\\\",\\\\\\\"ObjectClass\\\\\\\":\\\\\\\"user\\\\\\\",\\\\\\\"ObjectGuid\\\\\\\":\\\\\\\"e7b88df3-1c81-475d-b8d4-d78fe40029b8\\\\\\\",\\\\\\\"PropertyNames\\\\\\\":[\\\\\\\"DistinguishedName\\\\\\\",\\\\\\\"EmailAddress\\\\\\\",\\\\\\\"Enabled\\\\\\\",\\\\\\\"GivenName\\\\\\\",\\\\\\\"MobilePhone\\\\\\\",\\\\\\\"Name\\\\\\\",\\\\\\\"ObjectClass\\\\\\\",\\\\\\\"ObjectGUID\\\\\\\",\\\\\\\"SamAccountName\\\\\\\",\\\\\\\"SID\\\\\\\",\\\\\\\"Surname\\\\\\\",\\\\\\\"UserPrincipalName\\\\\\\"],\\\\\\\"AddedProperties\\\\\\\":[],\\\\\\\"RemovedProperties\\\\\\\":[],\\\\\\\"ModifiedProperties\\\\\\\":[],\\\\\\\"PropertyCount\\\\\\\":12,\\\\\\\"EmailAddress\\\\\\\":null,\\\\\\\"MobilePhone\\\\\\\":\\\\\\\"9160905020\\\\\\\",\\\\\\\"ObjectGUID\\\\\\\":\\\\\\\"e7b88df3-1c81-475d-b8d4-d78fe40029b8\\\\\\\"}\\\\r\\\\n\\\",\\\"stdErr\\\":\\\"#< CLIXML\\\\r\\\\n<Objs Version=\\\\\\\"1.1.0.1\\\\\\\" xmlns=\\\\\\\http://schemas.microsoft.com/powershell/2004/04\\\\\\\><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"0\\\\\\\"><TN RefId=\\\\\\\"0\\\\\\\"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N=\\\\\\\"SourceId\\\\\\\">1</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>0</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"1\\\\\\\"><TNRef RefId=\\\\\\\"0\\\\\\\" /><MS><I64 N=\\\\\\\"SourceId\\\\\\\">1</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>25</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"2\\\\\\\"><TNRef RefId=\\\\\\\"0\\\\\\\" /><MS><I64 N=\\\\\\\"SourceId\\\\\\\">1</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>50</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"3\\\\\\\"><TNRef RefId=\\\\\\\"0\\\\\\\" /><MS><I64 N=\\\\\\\"SourceId\\\\\\\">1</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>75</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"4\\\\\\\"><TNRef RefId=\\\\\\\"0\\\\\\\" /><MS><I64 N=\\\\\\\"SourceId\\\\\\\">1</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>100</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"5\\\\\\\"><TNRef RefId=\\\\\\\"0\\\\\\\" /><MS><I64 N=\\\\\\\"SourceId\\\\\\\">1</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>100</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\\\\\"progress\\\\\\\" RefId=\\\\\\\"6\\\\\\\"><TNRef RefId=\\\\\\\"0\\\\\\\" /><MS><I64 N=\\\\\\\"SourceId\\\\\\\">2</I64><PR N=\\\\\\\"Record\\\\\\\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>\\\"}\", \"status\": \"SUCCESS\", \"bodyAsMap\": {\"stdErr\": \"#< CLIXML\\r\\n<Objs Version=\\\"1.1.0.1\\\" xmlns=\\\http://schemas.microsoft.com/powershell/2004/04\\\><Obj S=\\\"progress\\\" RefId=\\\"0\\\"><TN RefId=\\\"0\\\"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>0</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"1\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>25</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"2\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>50</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"3\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>75</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"4\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>100</PC><T>Processing</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"5\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">1</I64><PR N=\\\"Record\\\"><AV>Loading Active Directory module for Windows PowerShell with default drive 'AD:'</AV><AI>0</AI><Nil /><PI>-1</PI><PC>100</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\\\"progress\\\" RefId=\\\"6\\\"><TNRef RefId=\\\"0\\\" /><MS><I64 N=\\\"SourceId\\\">2</I64><PR N=\\\"Record\\\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>\", \"stdOut\": \"{\\\"GivenName\\\":\\\"kishore\\\",\\\"Surname\\\":\\\"surisetty\\\",\\\"UserPrincipalName\\\":\\\kishore@automationsaqa1.com\\\,\\\"Enabled\\\":true,\\\"SamAccountName\\\":\\\"kishore\\\",\\\"SID\\\":{\\\"BinaryLength\\\":28,\\\"AccountDomainSid\\\":{\\\"BinaryLength\\\":24,\\\"AccountDomainSid\\\":\\\"S-1-5-21-3663680852-652122455-1283474182\\\",\\\"Value\\\":\\\"S-1-5-21-3663680852-652122455-1283474182\\\"},\\\"Value\\\":\\\"S-1-5-21-3663680852-652122455-1283474182-2736\\\"},\\\"DistinguishedName\\\":\\\"CN=kishore,CN=Users,DC=automationsaqa1,DC=com\\\",\\\"Name\\\":\\\"kishore\\\",\\\"ObjectClass\\\":\\\"user\\\",\\\"ObjectGuid\\\":\\\"e7b88df3-1c81-475d-b8d4-d78fe40029b8\\\",\\\"PropertyNames\\\":[\\\"DistinguishedName\\\",\\\"EmailAddress\\\",\\\"Enabled\\\",\\\"GivenName\\\",\\\"MobilePhone\\\",\\\"Name\\\",\\\"ObjectClass\\\",\\\"ObjectGUID\\\",\\\"SamAccountName\\\",\\\"SID\\\",\\\"Surname\\\",\\\"UserPrincipalName\\\"],\\\"AddedProperties\\\":[],\\\"RemovedProperties\\\":[],\\\"ModifiedProperties\\\":[],\\\"PropertyCount\\\":12,\\\"EmailAddress\\\":null,\\\"MobilePhone\\\":\\\"9160905020\\\",\\\"ObjectGUID\\\":\\\"e7b88df3-1c81-475d-b8d4-d78fe40029b8\\\"}\\r\\n\", \"statusCode\": 0, \"numberOfReceiveCalls\": 1}, \"errorCode\": null, \"statusCode\": \"200\", \"statusLine\": null, \"reasonPhrase\": null, \"contentProfileType\": null, \"responseProperties\": {}, \"responsePropertiesAsJson\": \"{}\"}}", "href": "/api/v1/workflowStepHistory/800", "id": 800 }, "warnings": [], "timestamp": 1641881023959, "reasonPhrase": null, "metaInfo": null }
    1. ‘status’ represents the execution status of the web service call. Success represents that the web service operation was successfully executed.

    2. ‘statusCode’ represents the status code.

    3. ‘statusLine’ represents the response message received from the web service. The message "Successfully retrieved workflow step history records." represents that the web service has successfully returned information for the steps executed as part of the workflow.

    4. ‘errors’ indicate the error received in case the web service execution fails.

    5. ‘resultData’ section contains the execution details of each workflow step. The following details are received for each workflow step:

      1. activityName represents the Workflow Step name.

      2. activityId is the Workflow Step Identifier in Luma Automation

      3. activityType represents the type of activity executed at the step. For example, StartEvent, EndEvent, ServiceTask etc.

      4. startTime represents the workflow step initiation time (Epoch time).

      5. endTime represents the workflow step execution completion time (Epoch time)

      6. status indicates the current workflow execution status of the workflow step. For example, RUNNING, SUSPENDED, ACTIVATED, COMPLETED, FAILED, TERMINATED, etc.

      7. totalAttempts represents the number of execution attempts. This is applicable in case the step is retried on failure.

      8. timeSpent is the time spent in completing the workflow step execution.

      9. activityRuntimeAttributes contains the values of various process parameters, like step input and output parameters, workflow variables set. These are the parameters used to execute the step.

      10. traceLog contains the detailed log of the step executed. Here you can see details such as Integration Request, Response, Error (if any) in case of a Service Task.

      11. href contains the link to the Workflow execution history record.

      12. id is the Luma ID of the Automation Workflow execution history record. The Step History ID is used to retrieve detailed information of the step, i.e. trace log, runtime info, etc.

    6. 'warnings’ field contains any warning received from web service execution.

    7. ‘timestamp’ represents the time (Epoch time) of web service execution.

    8. ‘reasonPhrase’ represents the error, in case web service execution fails.