You must validate a workflow before you can run it. You can validate workflows in either the Orchestrator client or in the workflow editor. However, you can only fix validation errors if you have opened the workflow for editing in the workflow editor.

Prerequisites

Verify that you have a complete workflow to validate, with schema elements linked and bindings defined.

Procedure

  1. Click the Workflows view.
  2. Navigate to a workflow in the Workflows hierarchical list.
  3. (Optional) : Right-click the workflow and select Validate workflow.

    If the workflow is valid, a confirmation message appears. If the workflow is invalid, a list of errors appears.

  4. (Optional) : Close the Workflow Validation dialog box.
  5. Right-click the workflow and select Edit to open the workflow editor.
  6. Click the Schema tab.
  7. Click the Validate button in the Schema tab toolbar.

    If the workflow is valid, a confirmation message appears. If the workflow is invalid, a list of errors appears.

  8. For an invalid workflow, click an error message.

    The validation tool highlights the schema element in which the error occurs by adding a red icon to it. Where possible, the validation tool displays a quick fix action.

    • If you agree with the proposed quick fix action, click it to perform that action.

    • If you disagree with the proposed quick fix action, close the Workflow Validation dialog box and fix the schema element manually.

    Important:

    Always check that the fix that Orchestrator proposes is appropriate.

    For example, the proposed action might be to delete an unused attribute, when in fact that attribute might not be bound correctly.

  9. Repeat the preceding steps until you have eliminated all validation errors.

Results

You validated a workflow and fixed the validation errors.

What to do next

You can run the workflow.