Execute Workflows through Workflow policies of same/different group using different Components

In Siebel vanilla, whenever a Workflow Policy is created and the Program of the Workflow policy Action is “Run Workflow Process”, then by default Workflow Monitor Agent component of Siebel uses “Workflow Process Manager” component.

There can be a case when due to business requirements when a custom component is required for invocation of the workflow through the Policy.

Solution :

1.    Login into Siebel tools and go to Workflow Policy Program in OBE.

2.    Query for Run Workflow Process.

3.    Lock the object/project based on Object/project locking

4.    Go to Workflow Policy Program Arguments for this program.

5.    Select Action Type Argument and set the Visible parameter of the Action Type argument as True.

6.    Compile the Workflow Policy Program.

7.    Login into application

8.    Identify the Custom Workflow component which would be used to execute the Workflow and get its Alias name.

9.    Navigate to Administration – Business Process screen.

10. Go to Workflow Policy Actions View and create a new Action, whose program is Run Workflow Process

11. Add Argument for the Action. Here two Arguments are seen. One is ProcessName which defines which Workflow Process to be executed and the other is Action Type which would be defaulted with “WfprocMgr” (Alias for vanilla Workflow Process Manager component), change this to the Custom Component’s Alias.

12. Add the created Action to the Policy

13. Drop and Regenerate the triggers.

Tags