Workflows can be engaged in certain operations such as engaging the approval workflow for the operation of adding a user. This section demonstrates the steps used to do this.
- On the Main tab in the Management Console, click Add under Workflows Engagements in the Manage section.
- Fill in the details using the descriptions below as a guide. Use the screen capture below as a guide to enter sample values.
Association name : A name to identify the association
Operation category: The category of the operation to be selected to the workflow engagement
Operation name: The operation to be selected
Workflow : The workflow you need to engage for the event. You can use an existing workflow definition or create a workflow definition.
The Application condition:
All requests : The workflow will be triggered for all the requests of the selected operation.
Apply if: Provides the ability to trigger the workflow only it a condition is satisfied. (eg. Say, the workflow should be triggered only for if the user is added to the primary userstore when “Adding a User” but not for the secondary userstore.). This section supports for simple conditions, If the condition is complex where multiple conditions are evaluated with connectors (and/or) use the Advance section.
Advanced: Provide the support for advanced conditions. The condition need to be given as a Xpath string.
- Click Add to finish adding the engagement. You can view, disable or delete the association by navigating to WorkFlows Engagements > List under the Manage Section.
Now that all the configurations are done, when you add a user it won’t be displayed under the users section immediately and the user won’t be able to login. The user will be enabled once the user addition task is approved by a user who has the role of Manager.