Siebel Email Response Administration Guide > Tables and Reference > Siebel Email Response and Business Services >

Inbound Email Manager Business Service


Table 18 shows a list of methods and input arguments with descriptions for this Siebel Email Response business service.

Table 18. Inbound Email Manager Methods and Input Arguments
Method
Input Argument
Description

AddAttachments

 

Creates attachment records for the attachments in EventFields.

Business Component

Business component in which attachment records are created.

Business Object

Business object in which attachment records are created.

EventFields

Hierarchy that contains file properties, such as FileName0, FilePath0, FileName1, FilePath1, and so on.

AddCategories

 

Associates categories with an activity record.

ActivityID

ID of activity record with which categories are associated.

BusComp

Business component in which category associations are created.

BusObj

Business object in which category associations are created.

Catalog

Catalog in which the system looks up categories.

Categories

List of categories and corresponding scores.

DeleteTempFiles

 

Deletes temporary files specified in EventFields.

EventFields

Hierarchy that contains file properties, such as FilePath0, FilePath1, and so on.

GetCategories

 

Gets the list of categories and scores associated with an activity.

ActivityID

ID of activity record from which categories are obtained.

BusComp

Business component of the associated categories.

BusObj

Business object of the associated categories.

Categories

List of categories and corresponding scores.

GetEventCategories

 

Enumerates the categories in EventFields and returns them in a hierarchy.

Categories

List of categories extracted from EventFields.

EventFields

EventFields that contain category properties prefixed by CATEGORY.

GetPreference

 

Gets the value of a user preference.

Category

Category of preference.

Preference

Name of preference.

Value

Value of preference.

GetResponseText

 

Gets the auto-suggest/response text for a set of categories based on their scores and thresholds.

Catalog ID

The ID of the catalog in which your categories are stored. If the Catalog ID input argument contains a value, the Catalog ID is used to locate the catalog.

Categories

List of categories and corresponding scores.

CheckThreshold

If Y, checks category scores against the threshold to determine whether response text for a category is used. If N, gets the response text based on scores alone.

CatalogName

The name of the catalog in which your categories are stored. If the Catalog ID input argument contains a value, the Catalog Name input argument is ignored.

ClosingTemplate

The name of the template used for the closing section of the email.

EmailFormat

The format in which the email is sent, that is, either plain text or HTML.

GreetingTemplate

The name of the template used for the greeting section of the email.

MaximumSections

Maximum number of categories for which response text will be returned.

ResponseText

Response text for the set of categories.

GetSearchSpec

[Name of a business component field, such as Area or Extract]

Creates a search specification based on the fields included as input arguments. For example, if Abstract and Area were input arguments, the search specification named [Area] = "Installation" AND [Abstract] = "Production" would be called the SRSearchSpec output argument.

GetTokens

 

Gets a specified number of tokens from a string. The tokens are returned in output properties such as Token 1, Token 2, and so on.

Delimiter

One or more characters that set off a token from surrounding characters. Default is the space character.

NumTokens

The number of tokens to obtain. Default is 1.

Text

The text from which the tokens are obtained.

ParseText

 

Extracts response properties from the email. The input arguments of this method include a fixed argument called Text, which contains the text to be parsed and one additional argument for each response property to be extracted. The types of these additional arguments are Literal and the values indicate the patterns to match and are in the following format:

expression = exp | "Last(" exp ")"

exp = {prefix}"%s"[{suffix}]

For example, an exp may be as follows: Billing Account Number%s\n, which means the expression would appear as

expression = exp | "Last("Billing Account Number%s\n")"

The expression is made up of the following:

  • The text "Last(" at the beginning and the text ")" at the end are optional. They indicate that the last occurrence of the pattern should be used if there are multiple occurrences. If they are not specified, the first occurrence will be used.
  • {prefix} represents any literal that marks the beginning of the pattern and is required. In the example above, Billing Account Number is the literal prefix.
  • "%s" marks the value to be extracted and is required.
  • {suffix} represents any literal that marks the end of the pattern. If not specified, all the text between the prefix and the end of line will be extracted. In the example above, \n is a suffix that indicates that the text should be parsed to the end of the line.

    NOTE:  If you have upgraded from Siebel Email Response version 6 to version 7, then you must implement the \n suffix to indicate that you wish to parse the text between the prefix and the end of line. If you do not implement this suffix as required, all the text in the message that follows the prefix will be parsed.

Therefore, in the above example, the last occurrence of the text Billing Account Number is extracted, along with the text to the end of the line in which this value is present.

The extracted response properties are used in the workflow process.

Text

The string to parse.

ReturnPropSet

 

Returns a hierarchy that contains the input properties and properties from the input hierarchy.

PropSetType

The type of the output hierarchy.

SetResponseFields

 

Constructs To, CC, and BCC lines for outbound email based on corresponding lines from inbound email.

InputEmailBccLine

BCC line in inbound email.

InputEmailCcLine

CC line in inbound email.

InputEmailToLine

To line in inbound email.

InputMsgReceiveAddress

Receiver address in inbound email.

InputMsgSenderAddress

Sender address in inbound email.

InputResponseType

Reply, Reply to All, or Forward.

OutputEmailBccLine

BCC line for outbound email.

OutputEmailCcLine

CC line for outbound email.

OutputEmailToLine

To line for outbound email.

Siebel Email Response Administration Guide Copyright © 2008, Oracle. All rights reserved.