Siebel Chat Guide > Methods for Customizing Siebel Chat Process Flow and Interface Functionality > Methods for Customizing Siebel Chat Process Flow and Interface Functionality >

UpdateWithBCFieldEx


This method is used to update the field in the Chat Data map with the value in a business component field. This method is typically used together with the UpdateChatDataFieldEx. Table 46 shows the input arguments for UpdateWithBCFieldEx.

Table 46. UpdateWithBCFieldEx Method: Input Arguments
Input Argument
Description

InteractionId (Optional)

The value in this argument is the interaction ID that you want to update if IsSingleChat is set to True. The value in this argument is ignored if IsSingleChat is set to False.

For new and transferred chats, IsSingleChat is always set to True and always provides the value for InteractionId that is passed from Oracle Contact On Demand data.

IsSingleChat (Optional)

If set to True, then it indicates to update the value provided for InteractionId. False indicates to update the value for all chats. For new and transferred chats, IsSingleChat is always set to True.

BusObj

The business object, for example, Service Request.

BusComp

The business component name in the business object, for example, Service Request.

QueryFields

The Query Field list that is used to query the value in ValueField (for example, SR Number). You must provide the value in Chat Data for the query field. For example, provide the SR Number in Chat Data for SR Number in the business component field.

The comma-separated field list indicates the field name list to use to query the business component.

For query search specification, you must also define a corresponding key value pair. For example, if QueryFields is set to Id and SR Number, then a list of key value pairs must also be provided as follows:

Id=Activity Id

SR Number = SRNumber

Id and SR Number are the query business component field names. Activity Id and SRNumber are the corresponding Chat Data fields.

UpdateField

The field that you want to update in the Chat Data map.

Value Field

The business component field that you want to get the value from.

Example

You want to update ChatDisplayName in Chat Data map with the Service Request Business Component Account field for all chats, and you do not want to use the Chat Related Data Business Object in the method. For every business component field in QueryFields, you must provide the related Chat Data map field to give the query value. In this example, the QueryFields is the SR Number business component field, so you must provide the related SRNumber field in the Chat Data map, so that it can get and use the SRNumber field value as the QueryField value. The input is as follows:

InteractionId =

IsSingleChat = FALSE

BusObj = Service Request

BusComp = Service Request

QueryFields = SR Number           // the field of SR Number in Action BC

SR Number = SRNumber              // the field of SRNumber in Chat Data map

UpdateField = ChatDisplayName     // the field of ChatDisplayName in Chat Data map

ValueField = Account              // the field of Account in Action BC

Table 47 shows the output arguments for UpdateWithBCFieldEx.

Table 47. UpdateWithBCFieldEx Method: Output Argument
Input Argument
Description

HasSetForAll (Optional)

Indicates whether or not to set (or update) the value for all chats. If set to True, then all chats get the update value.

Siebel Chat Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.