SiebelGuide.com/siebelblogs

Siebel Blogs, News, Events, Tips and Tricks
Filed under How To, Tips&Tricks, All, Configuration

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:

  1. Create the Workflow, Test and Deploy it.
  2. Create an Action Set.
    1. Go to Sitemap-> Administration-Runtime Events->Action Sets
    2. Create a New Record
    3. Under this one Action set you can run more than one action like Workflows or Business Services.
    4. Name = "SiebelGuide_com_RunWF"
    5. Choose Action Type = BusService
    6. Enter Business Service Name = "Workflow Process Manager"
    7. Business Service Method = "RunProcess"
    8. Business Service Context = "ProcessName", "name of Workflow"
    9. See the screen shot below
    10. RunTimeEventActionSets
  3. Create Event Aliases
    1. Name = "Opportunity - New"
    2. Object Type = "BusComp"
    3. Object Name = "Opportunity" (This defines on what BC you need to trigger on)
    4. Event = "NewRecord" (This defines the event)
    5. See the screen shot below
    6. RunTimeEventAlias
  4. Create a Events
    1. Name = "Opportunity - New" (Here you choose the Event Alias you created in previous step)
    2. Action Set Name = "SiebelGuide_com_RunWF" (Here you choose the Action Set you created in Step 1)
    3. See the screenshot below
    4. RunTimeEvent_Define
  5. Logout and Login back to see if your workflow is working.
  6. 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):

  1. eScripting Best Practices - Part1
  2. How to Test Siebel Workflows?
  3. Count number of Child Records without Scripting
  4. Use of Transcode Business Service in Siebel
  5. eScripting Best Practices - Part4

Posted by Sridhar on Thursday, October 16th, 2008


Page copy protected against web site content infringement by Copyscape
You can follow any responses to this entry through the magic of "RSS 2.0" and leave a trackback from your own site.

5 Responses to “Invoke Workflow Using Runtime Event in Siebel”

Post A Comment

Recent Posts 

Recent Comments:

  • Gloria: Thank you for sharing your knowledge!
  • Sridhar: Hi Satya, Please share your documents using “Participate” link on the right hand side. Many thanks...
  • satya vardhan: hi ramya this is vardhan i am in obiee developer i am not undrstanding ur query can u repeat once again...
  • satya vardhan: hi sri obiee this is reporting tool if u want more details send me ur mailid. i can forword some documents...
  • Ramya: Hi, Can u pls tell me how to get the difference between two date fields by ignoring weekends (i.e satday, sunday if...