Workflows provide a powerful and convenient way to add new logic to directory data management and provisioning processes in Active Roles. To configure a workflow, you create a workflow definition and then use the Workflow Designer to add and configure workflow activities.
This section covers the following tasks:
The Active Roles console provides the Workflow Designer for creating and configuring workflows. First, you create a workflow definition. Then, you use the Workflow Designer to construct a workflow, saving the workflow configuration data in the workflow definition.
To create a workflow definition
- In the Active Roles console tree, expand Configuration | Policies, right-click Workflow, and select New | Workflow.
- Follow the steps in the wizard for creating the workflow definition.
- On the Workflow Type page, accept the default setting.
By default, the wizard creates a change workflow that starts upon a request to change data in the directory. Another option is to create an automation workflow that can be run on a scheduled basis or on user demand. See Automation workflow for further details.
Once you have created a workflow definition, you can open it in the Workflow Designer to add workflow activities and specify workflow start conditions.
You can create containers to store related workflows and other containers. To create a workflow container, right-click Workflow in the console tree and select New | Container. To create a workflow definition in a given container, right-click the container in the console tree, and select New | Workflow.
You can delete a workflow definition as follows: In the console tree under Configuration | Policies | Workflow, right-click the object representing the workflow definition, and click Delete.
The workflow start conditions determine which operations cause the workflow to start. For example, an approval workflow can be configured so that any request to create a user in a specific container starts the workflow, thereby requiring approval for the request. You can specify the start conditions for a workflow by editing its definition in the Workflow Designer.
To view or change the start conditions for a workflow
- In the Active Roles console tree, expand Configuration | Policies | Workflow, and select the workflow you want to configure.
This opens the Workflow Designer window in the details pane, representing the workflow definition as a process diagram.
- In the details pane, click the Workflow options and start conditions button to expand the area above the process diagram, and then click the Configure button.
- Click the Conditions tab in the Change Workflow Options and Start Conditions dialog box.
This displays a page where you can view or change:
The operation conditions specify:
- An object type, such as User, Group or Computer; the workflow starts only if an operation requests changes to an object of that type.
- An operation type, such as Create, Rename, Modify or Delete; the workflow starts only if an operation of that type is requested.
- For the Modify operation type, a list of object properties; the workflow starts only if an operation requests changes to any of those properties of an object.
To view or change the operation conditions
- In the Change Workflow Options and Start Conditions dialog box, go to the Conditions tab, and click Select operation in the Operation Conditions area.
This opens the page where you can view or change the object type and operation type settings.
- To change the object type settings, select a type of object from the drop-down list.
To select an object type that is not included in the drop-down list, click the button next to the drop-down list.
- To change the operation type setting, click the appropriate option.
- If the Modify operation type (the Modify properties option) is selected, click Next to view or change the selection of properties.
- Click Finish.