Viewing Archived Workflows

  1. Using Navigation select Tools, then Workflow.

  2. Select Archive so you can display the list of workflow instances that completed successfully.

    wf-98

    NOTE
    The abort status is considered as a successful termination as it occurs as a result of user action; for example:
    • use of the Terminate action
    • when a page that is subject to a workflow is (force) deleted, the workflow is terminated
  3. Select a specific item, then Open History to see more details:

    wf-99

Fixing Workflow Instance Failures

When a workflow fails, AEM provides the Failures console to let you investigate and take appropriate action once the original cause has been handled:

  • Failure Details
    Opens a window to show the Failure Message, Step, and Failure Stack.

  • Open History
    Shows details of the workflow history.

  • Retry Step – Runs the Script Step component instance again. Use the Retry Step command after you have fixed the cause of the original error. For example, retry the step after you fix a bug in the script that the Process Step executes.

  • Terminate – Terminate the workflow if the error has caused an irreconcilable situation for the workflow. For example, the workflow can rely on environmental conditions such as information in the repository that are no longer valid for the workflow instance.

  • Terminate and Retry – Similar to Terminate except that a new workflow instance is started using the original payload, title, and description.

To investigate failures, then resume or terminate the workflow afterwards, use the following steps:

  1. Using Navigation select Tools, then Workflow.

  2. Select Failures so you can display the list of workflow instances that did not complete successfully.

  3. Select a specific item, then the appropriate action:

    wf-47