Siebel Community

Welcome to Siebel Community. In this place you can find all the topics related to Siebel. This place is dedicated to provide information about how to implement Siebel CRM application. Siebel Technical/Functional consultants can get information from basics of Siebel CRM to advanced topics like EAI, EIM, eScripting, Workflows, Assignment Manager, Actuate Reports, Territory Management. This place also included Forums and Blogs to help you further.

Wednesday, August 3, 2011

Runtime Events

Siebel allows you to detect events on the Application, Applet or BusComp Objects.
You can take an action or multiple actions on these events. For instance you can set profile attributes, or you can call a Business service or a workflow.

When do you use it? Say when the Effective Start Date is set on the Service Agreement, On the pre write record of Business Component, You want to call a Business Service to validate a lot of different conditions... That is when you will define an action set to SetProfileAttribute for Account Id and then call the Business Service or a workflow.

Siebel Version Runtime events is available in Siebel v7.5 onwards. The instructions/example in this blog is from siebel 8.0 to access siebel runtime events screen login to Siebel Client.

Go to Sitemap --> Administration - Runtime Events.
Some common RuntimeEvents:
Listed below are some commonly used events for each object
Applet: InvokeMethod PreInvokeMethod DisplayApplet
BusComp: PreSetFieldValue SetFieldValue PreWriteRecord WriteRecord Query PreQuery NewRecord PreNewRecord
Application: Login Logout Timeout ViewActivated

Some Sample Actionsets:
To create an actionset
1. Login to siebel client
2. Go to Sitemap --> Administration - Runtime Events --> Action Sets
3. Click New, and enter Name = Test Actionset Start Date = Yesterday's date Active = Y Enable Export = Y
4. Create a New Record in the child applet, and enter
Name = SetProfileAttr1
Action Type = Attribute Set
Sequence = 1
Profile Attribute = Set
Operator = Set
Value = 5.

Create another New Record, and enter
Name = Effective Date Validation
Action Type = BusService
Sequence = 3
Business Service Name = Workflow Process Manager
Business Service Method = RunProcess
Business Service Context = "ProcessName", "Contract Validation Workflow"
Example of Events Now let’s say you want to call this actionset Before Write record event of "Service Agreement".

Here is what you will do to achieve this:
Go to Events View and create a New Record:
Sequence = 1
Object = BusComp
Object Name = Service Agreement
Event = PreWriteRecord
Action Set Name = Contract Start Date Validation Actionset

How to know what events are called when your application is running? Now In Order to know what the Sequence of Events is which is called when you do a certain operation in Siebel, do the following:

To know the sequence of events that are fired, enable the personalization log in your thick client by setting the following 2 parameters in your cfg file:

EnablePersonalization = TRUE
PersonalizationLog = C:\Personal.log

No comments:

Post a Comment