Check the Detailed Running Status for a Specific Workflow

Description:

A method to indicate for a given workflow the count of work orders in each execution status.

Usage:
http://Orchestrator_IP_address/aspera/orchestrator/api/workflow_details/workflow_id?login=admin&password=aspera

For example:

http://localhost/aspera/orchestrator/api/workflow_details/13?login=admin&password=aspera

The required input parameter, which specifies the workflow ID, is the following:

workflow_reporter/workflows_details/workflow_id
Response example (XML):
<?xml version="1.0"?>
<workflows time="2012-01-25 07:11:52 UTC" action="details"  id="13">
  <workflow id="13" name="test mapping" >
      <status type="Complete" count="1" last_activity="2012-01-23 19:11:33"/>
      <status type="Failed" count="1764" last_activity="2012-01-25 07:11:15"/>
      <status type="In Progress" count="2" last_activity="2012-01-25 07:11:29"/>
      <status type="Error" count="1" last_activity="2012-01-23 19:05:51"/>
  </workflow>
</workflows>
Response example (JSON):
{  
   "workflows":{  
      "action":"status",
      "id":"13",
      "workflow":{  
         "id":"13",
         "statuses":[  
            {  
               "count":"614",
               "workflowName":"label workflow",
               "status":"Canceled",
               "last_activity":"2016-01-04 23:07:29"
            },
            {  
               "count":"493",
               "workflowName":"label workflow",
               "status":"Complete",
               "last_activity":"2016-01-08 01:08:38"
            },
            {  
               "count":"198",
               "workflowName":"label workflow",
               "status":"Error",
               "last_activity":"2016-01-04 23:04:13"
            },
            {  
               "count":"4",
               "workflowName":"label workflow",
               "status":"Failed",
               "last_activity":"2015-12-22 23:26:40"
            },
            {  
               "count":"1",
               "workflowName":"label workflow",
               "status":"In Progress",
               "last_activity":"2016-01-08 01:08:30"
            }
         ],
         "name":"label workflow"
      },
      "time":"2016-01-11 19:55:24"
   }
}
Note: Only the statuses that are encountered are reported. For example, if no workorders have failed for that workflow, no lines will be reported for that status.