Runtime Event Expression not evaluated when it involves fields not on Applet
(Doc ID 515314.1)
Last updated on MARCH 02, 2017
Applies to:Siebel Tools - Version 7.8  and later
z*OBSOLETE: Microsoft Windows Server 2003
Database: Microsoft SQL Server 2005
Application Server OS: Microsoft Windows 2003 Server
Database Server OS: Microsoft Windows 2003 Server
This document was previously published as Siebel SR 38-3396248151.
Checked for relevance on DEC-05-2016
We created a runtime event to execute a business service on the WriteRecordUpdated event of a custom BC. We found that the RTE never fires if the condition on the RTE involves a field not Force Active or displayed on the applet where the update is triggered from. Is this a product defect or expected behavior?
Runtime Event not triggered when field referenced in Conditional Expression is not activated (not Force Active or not exposed on the Applet).
The behavior described by the customer is reproducible using standard Siebel application. The steps are the following:
1 - Create a Business Service with one method:
BS Name: HelloWorld
function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
2 - On the Administration Runtime Events / Action Sets screen create an action set called "HelloWorld" to run this service.
Action Type: BusService
Business Service Name: HelloWorld
Business Service Method: Hello
3 - On the Administration Runtime Events / Events screen create an Event on:
Sequence: 2 (It set to 2 because there is OOB events with sequence 1)
Expression: [Manager Last Name] Is Not Null
Action Set Name: HelloWorld
4 - Reload runtime events.
5 - Goto Contact > More Info view "Contact Details View (Detail tab)" and set the Manager Last Name field.
6 - Then update the any field (ie. Job Title) on the same view and the event fires as expected.
7 - Then goto another view "Contact Detail View" and update the Job Title again. On this view, the event does not fire. This is because Manager Last Name is not displayed on this view, thus the runtime event didn't triggered.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!