2.2.4 Update and Rerun a Workflow Execution

Workbench stores the details of the executed workflows in your browser's local storage.

After you run a workflow, a new workflow execution ID is displayed in the pane on the right side of the window. You can search for a specific workflow by providing its ID or name. Click a specific entry to view the parameters used to run that workflow. You can edit the parameters, if required, and run the workflow again.
  1. Open the navigation menu and click Workbench.
  2. In the Search history field in the pane on the right side of the window, enter the partial or complete workflow name or workflow ID.
    All the workflows that match the search criterion are displayed.
  3. Click a workflow ID.
    All the details, such as input parameters, that you had provided when you ran the workflow earlier are displayed on the screen as shown in the following image.
    view details of a previous workflow execution

  4. View all the details, such as workflow version, input parameters, and the domains in which you want to run the task. If required, update the details. You can update all workflow execution parameters, except the name of the workflow.
    The following image displays the updated values of input parameters for the selected workflow.
    Updated value for input parameters

  5. Optional. In the Correlation ID field, enter an ID to logically group related workflow executions. For example, you can use correlation ID to group executions related to the same business request, order, transaction, or customer.
    Unlike the workflow ID, which uniquely identifies one execution, you can use the same correlation ID across multiple workflow executions.
  6. Optional. In the Idempotency Key field, enter an idempotency key to prevent duplicate workflow executions. See About Idempotent Workflows and Tasks.
    If you do not enter a value, MicroTx Workflows creates a unique value because every workflow execution is mapped to a unique idempotent key.
  7. Click execute workflow(Execute) to run the workflow.

    A new workflow ID is created every time you run a workflow. In the pane on the right side of the window, a new workflow execution ID is displayed.


    Status of updated workflow execution and new ID

  8. Click the workflow execution ID.
    The status of the workflow execution is displayed. See View Details of a Workflow Execution.
If you want to clear all the details of the executed workflows in your browser's local storage, click Reset.