Table of Contents

Search

  1. Preface
  2. Workflow Manager
  3. Workflows and Worklets
  4. Sessions
  5. Session Configuration Object
  6. Tasks
  7. Sources
  8. Targets
  9. Connection Objects
  10. Validation
  11. Scheduling and Running Workflows
  12. Sending Email
  13. Workflow Monitor
  14. Workflow Monitor Details
  15. Session and Workflow Logs
  16. Appendix A: Session Properties Reference
  17. Appendix B: Workflow Properties Reference

Workflow Basics Guide

Workflow Basics Guide

Task Validation

Task Validation

The Workflow Manager validates each task in the workflow as you create it. When you save or validate the workflow, the Workflow Manager validates all tasks in the workflow except Session tasks. It marks the workflow as not valid if it detects that any task in the workflow is not valid.
The Workflow Manager verifies that attributes in the tasks follow validation rules. For example, the user-defined event you specify in an Event task must exist in the workflow. The Workflow Manager also verifies that you linked each task properly. For example, you must link the Start task to at least one task in the workflow.
When you delete a reusable task, the Workflow Manager removes the instance of the deleted task from each workflow that contains the task. The Workflow Manager also marks the workflow as not valid when you delete a reusable task that a workflow uses.
The Workflow Manager verifies that a folder does not contain duplicate task names, and it verfies that a workflow does not contain duplicate task instances.
You can validate reusable tasks in the Task Developer. Or, you can validate task instances in the Workflow Designer. When you validate a task, the Workflow Manager validates the task attributes and the links. For example, the user-defined event you specify in an Event tasks must exist in the workflow.
The Workflow Manager uses the following rules to validate tasks:
  • Assignment.
    The Workflow Manager validates the expression that you enter for the Assignment task. For example, the Workflow Manager verifies that you assigned a matching datatype value to the workflow variable in the assignment expression.
  • Command.
    The Workflow Manager does not validate the shell command you enter for the Command task.
  • Event-Wait.
    If you choose to wait for a predefined event, the Workflow Manager verifies that you specified a file to watch. If you choose to use the Event-Wait task to wait for a user-defined event, the Workflow Manager verifies that you specified an event.
  • Event-Raise.
    The Workflow Manager verifies that you specified a user-defined event for the Event-Raise task.
  • Human Task.
    The Workflow Manager verifies that a Human task has a potential owner. The task must also have a business administrator and an escalation user. The Workflow Manager verifies that a task notification has a recipient. It also verifies that the Human task receives the results of a mapping task in the workflow.
  • Timer.
    The Workflow Manager verifies that the variable you specified for the Absolute Time setting has the Date/Time datatype.
  • Start.
    The Workflow Manager verifies that you linked the Start task to at least one task in the workflow.
When a task instance is not valid, the workflow running the task instance becomes not valid. When a reusable task is not valid, it does not affect the validity of the task instance in the workflow. However, if a Session task instance is not valid, the workflow might still be valid. The Workflow Manager validates sessions differently.
To validate a task, select the task in the workspace and click
Tasks
Validate
. Or, right-click the task in the workspace and choose
Validate
.

0 COMMENTS

We’d like to hear from you!