Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Applications Administration Guide > Configuring the Inbox > Examples of Inbox Triggers > Inbox Trigger Using Server ScriptThis topic includes a sample Server Script that calls Inbox methods. This code is entered in the PreWriteRecord statement for the Project business component in Siebel Tools. The purpose of this code is to take data from the project record and some required arguments to invoke the Universal Inbox business service under the Initialize method. When the user changes the value of the Status field to For Approval, this eScript code is launched, invoking the Universal Inbox business service and using the parameters specified in the eScript and the Inbox type to create an Inbox item. function BusComp_PreWriteRecord () if (FldProjectStatus == "For Approval") indata =TheApplication ().NewPropertySet (); // Get the login name of the user // ItemObjectId, ItemType, ItemSubmittedBy, and ItemDescription are the // ItemQueueDuration, ItemPriority, and ItemComments are the |
![]() |
![]() ![]() |
Siebel Applications Administration Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |