Important Workflow Objects

The IdentityIQ Object Model uses four key objects in workflows. To work with workflows, you need a basic understanding of these objects.

Note: The most important object for writing workflows is the WorkflowContext object, which tracks the launchtime state of the workflow and performs other critical functions. Because WorkflowContext methods are used in workflows, data can be extracted from it as needed within any step of the workflow.

Object

Usage

Workflow

Defines the workflow structure and steps involved in the workflow processing.

WorkflowCase

Represents a workflow in progress.
Contains a workflow element in which the process is outlined and current state data is tracked.
Contains identifying information about the workflow target object.

WorkflowContext

Tracks launchtime information the Workflower maintains as it advances through a workflow case.
Passed into rules and scripts and to the registered WorkflowHandler.
Contains all workflow variables, step arguments, current step or approval, workflow definition, libraries, and WorkflowCase.

TaskResult

Records the completion status of a task, or in this case, the workflow.
Contained within the WorkflowCase.