RunTime Event: could not pass parameters to Business Service in the 'Business Service Context' (Doc ID 541579.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Workflow - Version 7.7.2 [18325] and later
z*OBSOLETE: Microsoft Windows 2000
Product Release: V7 (Enterprise)
Version: 7.7.2 [18325]
Database: Microsoft SQL Server 2000 SP3
Application Server OS: Microsoft Windows 2000 Server SP 4
Database Server OS: Microsoft Windows 2000 Server SP 4

This document was previously published as Siebel SR 38-2688479696.

***Checked for relevance on 23-Jul-2013***

Goal

SBL-DAT-00125
We are configuring Runtime Event in order to trigger a business service. In this particular case we want to catch the value change in the Contact record and to send a Warning eMail to user who made unappropriate changes. We want to use this approach with Runtime Events in other scenario as well, so, it is important for us to understand the issue with passing parameters to Business Service in RTE.

1) The event is fired in the "SetFieldValue" method of the Business Component 'Contact'

2) The Actions Sets are the following:
The Actions 1-4 are setting profile attributes (CommProfile, MsgToList, MsgSubject, MsgBody) for further using by "Outbound Comm Manager".

The Action 5 has an Action type=BusService and it is defined as following (please see attached screenshot):
Business Service Name = Outbound Communications Manager
Business Service Method = SendMessage
Business Service Context = "CommProfile", GetProfileAttr("CommProfile"), "MsgToList", GetProfileAttr("MsgToList"), "MsgSubject", GetProfileAttr("MsgSubject"), "MsgBody", GetProfileAttr("MsgBody")

3) When the event is fired the following error message is displayed:
"Required is argument 'CommProfile' not supplied for 'SendMessage' method in Business Service 'Outbound Communications Manager'(SBL-DAT-00125)".

4) I was not sure about syntax for 'Business Service Context' particulary about using variables and functions. I tried to replace the value for CommProfile with constant as following:

Business Service Context = "CommProfile", "SAF siebadmin@saftehnika.com", "MsgToList", GetProfileAttr("MsgToList"), "MsgSubject", GetProfileAttr("MsgSubject"), "MsgBody", GetProfileAttr("MsgBody")

Is it possible to achieve this?


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms