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

FindRecord


This method contains the update for the input argument. It is used to query records from a specific business component according to the search specification. You can define the business object name, business component name, query field value pairs, and value field list. By default, the row ID of the query results is returned as output, but you can define more output by using the input value field list. Table 20 shows the input PropertySet arguments for FindRecord.

Table 20. FindRecord Method: Input Arguments
Input Argument
Description

BusObj

The business object name.

BusComp

The business component name.

QueryFields

A comma-separated field list. This list indicates to use the field name list to query the business component. A corresponding key value pair must also be defined for the query search specification. For example, if you define Query Fields as follows (QueryFields = First Name, Last Name), then you also must provide a list of key value pairs:

First Name = John

Last Name = Smith

First Name and Last Name are the query field names. John and Smith are the corresponding field values used for the query.

ValueFields (Optional)

A comma-separated field list, indicating the output field name list. The default functionality is to generate the row IDs of the query results, but you use this parameter to generate the other fields as required.

Table 21 shows the output PropertySet argument for FindRecord, which returns the row IDs and value fields defined by the input of the query results.
Table 21. FindRecord Method: Output Arguments
Output Argument
Description

Id

The row ID of the first query record. You can query for more than one record by using the input arguments, but this argument saves only the row ID of the first record.

IsMultipleRecord

A value of True indicates that the number of query records is greater than one.

IdList

A comma-separated row ID list of the query results.

<key, value> pair

According to the values in the ValueFields input parameter, this method generates more field values of the first query record.

Example

If you want to query a contact by contact name and generate the contact row ID and work phone number, then the input is as follows:

BusObj = Contact

BusComp = Contact

QueryFields = First Name, Last Name, xxx,

First Name = John

Last Name = Smith

Xxxx =

ValueFields = Work Phone #

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