Siebel Business Process Designer Administration Guide > For Developers: Understanding How Workflow Processes Are Designed > Invoking Workflow Processes >

Invoking a Workflow Process from a Workflow Policy


To invoke a workflow process from a workflow policy, you define a policy action that uses the workflow policy program Run Workflow Process. Alternatively, you can create a custom workflow policy program by copying the Run Workflow Process program and then adding program arguments that correspond to workflow process properties. This way you can use the policy program to pass data to the workflow process properties.

NOTE:  For complete information about defining workflow policies, see About Creating Workflow Policies.

To invoke a process from a workflow policy

  1. From the application-level menu, choose Navigate > Site Map > Administration - Business Process > Actions.
  2. In the Actions applet, click New to define a new action.
    • In the Program field, use the picklist to select the Run Workflow Process program.
  3. In the Arguments applet, in the Argument field, select ProcessName.
    • In the Value field, enter the name of the workflow process you want to invoke as the argument value.
  4. From the application-level menu, choose Navigate > Site Map > Administration - Business Process > Policy Groups.
  5. In the Policy Groups applet, click New to define a new group and name it.
  6. From the application-level menu, choose Navigate > Site Map > Administration - Business Process > Policies.
  7. In the Policies List applet, click New to define a new policy.
    1. In the Conditions applet, click New to define a condition for the policy that must be met to invoke the workflow process.
    2. In the Actions applet, click New to define a new action and enter the name of the action you defined in Step 1.
  8. Run Generate Triggers.

    See Creating Database Triggers for more information about running the trigger generator.

  9. If you are using the Run Workflow Process program, verify that the Workflow Process Manager server component is online.
  10. Run Workflow Monitor Agent.

    See Using Workflow Monitor Agent for more information about monitoring workflow policies.

  11. Violate the policy. The action should invoke the workflow process.
Siebel Business Process Designer Administration Guide