Inbound Email Manager Business Service
The following table lists the methods for the Inbound Email Manager business service.
Method Name | Comment |
---|---|
AddAttachments |
Creates attachment records for the attachments in EventFields. |
AddCategories |
Associates categories with an activity record. |
DeleteTempFiles |
Deletes temporary files specified in EventFields. |
GetCategories |
Gets the list of categories and scores that are associated with an activity. |
GetEventCategories |
Enumerates the categories in EventFields and returns them in a hierarchy. |
GetPreference |
Gets the value of a user preference. |
GetResponseText |
Gets the auto-suggest response text for a set of categories by using the scores and thresholds for the categories. |
GetSearchSpec |
Creates a search specification by using the fields included as input arguments. For example, if Abstract and Area are input arguments, then the search specification named [Area]=“Installation” AND [Abstract]=“Production” is 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. |
ParseText |
Extracts response properties from the email. The input arguments of this method include a fixed argument named Text, which contains the text to parse, and one additional argument of the Literal type for each response property to extract. The values indicate the patterns to match and are in the following format:
For example:
where:
You must implement the \n suffix to parse the text between the prefix and the end of line. If you do not implement this suffix, then all text in the message that follows the prefix is parsed. Therefore, in the example, the last occurrence of the Billing Account Number text is extracted, along with the text to the end of the line in which this value is present. The workflow process uses the extracted response properties. |
ReturnPropSet |
Returns a hierarchy that contains the input properties and properties from the input hierarchy. |
SetResponseFields |
Constructs To, CC, and BCC lines for outbound email by using corresponding lines from inbound email. |