Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the Main tab in the Management Console, click Add under Workflows Engagements in the Manage section.
  2. Fill in the details using the descriptions below as a guide. Use the screen capture below as a guide to enter sample values. 
    1. Association name name: A name to identify the association

    2. Operation category: The category of the operation to be selected to the workflow engagement

    3. Operation name: The operation to be selected

    4. Workflow Workflow: The workflow you need to engage for the event. You can use an existing workflow definition or create a workflow definition.

    5. The Application condition:

    6. All requests : The
    Info

    There are three options which we can use to filter requests which need to be managed by the selected workflow.

    Apply to all Requests

    If this option is selected, the selected workflow will be triggered for all the requests of the selected operation.

    Apply

    if: Provides the ability to trigger the workflow only it a

    If

    If this option is selected, the selected workflow only get triggered if the 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,

    As an example, following configuration will select add user operations where username contains 'sys'. (This option supports simple conditions. If the condition is complex where multiple conditions are evaluated with connectors (and/or) use the Advance section.

  3. Advanced: Provide the support for advanced conditions. The condition need to be given as a Xpath string.

  4. Image Removed

    )

    Image Added

    Advanced
    If this option is selected, you can define an XPath expression to filter the requests that need to go through the selected workflow. As an example, following configuration will select add user operations where username contains 'sys'.

    Code Block
    boolean(//*[local-name()='parameter'][@name='Username']/*[local-name()='value']/*[local-name()='itemValue'][contains(text(),'sys')])

    Image Added

    Image Added

  5. 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.

What's Next?

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. To try this out, see Managing Human Tasks.