Invoking workflows in Siebel has become very easy since the introduction of Runtime Events. Runtime events saves a lot of time for developers. We no longer have to create triggers or workflow policies to invoke workflows on certain record events.
In this post I will explain how easy it is to invoke a workflow using Runtime Events.
Objective: Execute a Workflow "SiebelGuide Lead WF" when a new Opportunity is created.
Steps:
-
Create the Workflow, Test and Deploy it.
-
Create an Action Set.
-
Go to Sitemap-> Administration-Runtime Events->Action Sets
-
Create a New Record
-
Under this one Action set you can run more than one action like Workflows or Business Services.
-
Name = "SiebelGuide_com_RunWF"
-
Choose Action Type = BusService
-
Enter Business Service Name = "Workflow Process Manager"
-
Business Service Method = "RunProcess"
-
Business Service Context = "ProcessName", "name of Workflow"
-
See the screen shot below
-

-
- Create Event Aliases
- Name = "Opportunity - New"
- Object Type = "BusComp"
- Object Name = "Opportunity" (This defines on what BC you need to trigger on)
- Event = "NewRecord" (This defines the event)
- See the screen shot below

- Create a Events
- Name = "Opportunity - New" (Here you choose the Event Alias you created in previous step)
- Action Set Name = "SiebelGuide_com_RunWF" (Here you choose the Action Set you created in Step 1)
- See the screenshot below

- Logout and Login back to see if your workflow is working.
- Whenever a New Opportunity Record is created the Workflow will be run.
Hope this helps. Comment if you have any questions.a
Related posts(Auto Generated):





December 20th, 2008 at 9:18 pm
Can I control whether the Workflow invoked by the RTE is Synchronous or Asynchronous call. If yes, how?
Thanks.
December 22nd, 2008 at 4:29 am
Check Siebel Book Shelf. Siebel Business Process FrameWork workflow guide->Invoking Workflow processes page 171 as per Siebel 8 Bookshelf.
From a run-time event with Processing Mode set to Remote Synchronous or Remote Asynchronous