Different ways of invoking a workflow process

And they are one of the most commonly used functionality in Siebel.

The following are the different ways to invoke a workflow.

  1. Runtime Events
  2. Scripting
  3. User Property
  4. Workflow Policy


Runtime Events

Runtime events can be specified at

  1. Workflow Process and
  2. Administration Runtime


Workflow Process

To define a runtime event in the workflow process, follow the steps given below.

  1. Select the connector after the start step as shown below

  2. In the Workflow Step Branch: windowbelow provide the details at which you want to this workflow to execute.

e.g. For example If I want my workflow to be invoked at write record of Action buscomp then I will enter the following details

Event Object Type: BusComp
Event Object: Action
Event: Write Record

  1. Next and the last step is we need to reload the runtime events from Siebel client.


Administration Runtime

  1. Runtime Events are available in Administration – Runtime Event Screen.
  2. We have all the corresponding events which we find in BusComp, Applet and Application such as WriteRecord, PreWriteRecord, ChangeRecord, and PreQuery etc.
  3. We need to remember one thing here is that Runtime events fire before the corresponding object event.

e.g. WriteRecord runtime event for object type BusComp will fire before BusComp WriteRecord event

  1. To call a workflow from Administration Runtime event define a Action Set and Enter the information as shown below

Business Service-Name: Workflow Process Manager

Business Service-Method: RunProcess

Business Service-Context: “ProcessName”, “Name of workflow”

  1. Even Spaces matter in Business Service Context value after there is a space after comma and then workflow name.
  2. Now you can define the event according to your requirement which will call this Action Set.
  3. Reload the runtime events.



  1. The following is the example code to call the workflow from a script.

  2. Here any property that you set in input property set will be assigned to corresponding process property in the Workflow Process (WFP) as in the above example

Input.SetProperty(”Object Id”, rowId);

  1. Above line of code will result in process property called “Object Id” in WFP to assigned to the value of variable “rowId”.


User Property

We can use ‘Named Method’ property on BC to invoke a workflow.

Name: Named Method

Value: [Event Name] , “INVOKESVC”, , “Workflow Process Manager”, “RunProcess”, ‘ProcessName’,[Name of the Workflows] , ‘RowId’, [Row Id Value]

The below example mentioned will invoke a workflow named ‘Example Workflow’ when a new record is created in Example BC.

Workflow Policy

  1. Workflow Process can also be called from workflow policy.
  2. Steps to create Workflow Policy are not in the scope of this post. We assume here that you have created a workflow policy record and specified appropriate conditions (We can Define a workflow policy (WFP) in Administration – Business Process >> Policy.).
  3. In the argument section choose

Argument: Process Name

Value: Workflow Process Name