Workflow Execution History

 

What is Workflow?

Workflow is a combination of one or more tasks executed in a specific order on a Configuration Item (CI) to achieve a particular service to customer/team/individual.

Figure: Use Case - User Creation on Active Directory

Execution History

Execution history is data in workflow format or a timeline, which displays the success and failure of tickets over the year, filtered by scripts. It is sorted by language on the application.

For example,

  • Number of PowerShell scripts and respective success/failure data over the year.
  • Number of VB script and respective success/failure data over the year.

Execution History in the Orchestration UI:

Figure: Workflow List page

Workflow record consists of the following data for the individual record:

  • Execution %
  • Workflow Name
  • Trigger Event
  • Module
  • Tenant
  • Active
  • Created By
  • Created Date
  • Last Updated By
  • Last Updated Date
  • Action button

Clicking on the Workflow history  button under the Action column will provide a pop up that list workflow execution history.

Figure: Workflow Execution History

The left portion of the workflow execution history pop up details

  • Execution End – Date & time of execution end
  • Ticket ID
  • Action
  • Executions
  • Success
  • Failure
  • View Workflow icon – displays Workflow Viewer pop-up with the workflow ticket details. This provides an ability to view the workflow execution details with executed path highlighted in green or red based on the script status. For more information, see Workflow Viewer pop-up.
  • Drop down button – to display ticket’s individual executions

Figure: Workflow Execution history per ticket

The right portion of the workflow execution history pop up displays workflow execution history graph

Figure: Workflow Execution History Graph (Overall)

Clicking on a ticket ID in the execution history section will provide a detailed representation of the ticket details in the right-hand section.

Figure: Workflow Execution history details per ticket

Workflow Viewer Pop-up

Click the View Workflow icon on the Workflow Execution History to display Workflow Viewer pop-up with the workflow ticket details. 


Figure: Workflow Viewer Pop-up

Also, you can use the Rerun from here option on the scripts to rerun the workflow within this pop-up. Clicking the rerun options provides a confirmation pop-up as shown in following screen.

You can click OK to proceed with the rerun and a success message is displayed.

Note:

  • The Rerun from here option is available only for the scripts.
  • Rerun of scripts are consecutive. For example, if there are 3 scripts, if you rerun the script 2 from the workflow, even the script 3 reruns to end the workflow. But if you rerun the script 3 within the workflow, only script 3 reruns.