Inbound Workflow Example
To process the attachment for an inbound request, you must create a workflow to read the content from a file, convert the information into a Siebel Message, and send to the EAI Siebel Adapter to update the database accordingly.
To create an inbound workflow
In Siebel Tools, select the Workflow Process object in the Object Explorer.
Right-click, and then choose New Record.
Give the new workflow a name and associate it with a locked project.
Right-click, then choose Edit Workflow Process.
The Workflow Process Designer appears.
Create a workflow consisting of Start, End and four Business Services. Set up each Business Service according to the task it must accomplish.
Define your process properties.
Set process properties when you need global properties for the entire workflow:
Name Data Type SiebelMessage
Hierarchy
Error Message
String
Error Code
String
Object Id
String
Siebel Operation Object Id
String
MIMEHierarchy
Hierarchy
MIMEMsg
Binary
The first business service in the workflow reads the Account information from a file using the EAI File Transport business service with Receive method. This step requires the following input and output arguments.
Input Argument Type Value File Name
Literal
c:\temp\account.txt
Property Name Type Output Argument <Value>
Output Argument
Message Text
Note: For information on File Transport, see Transports and Interfaces: Siebel Enterprise Application Integration.The second business service of the workflow converts the Account information to a MIME hierarchy using the EAI MIME Doc Converter business service with the MIME Doc to MIME Hierarchy method. This step requires the following input and output arguments.
Input Argument Type Property Name Property Data Type MIME Message
Process Property
<Value>
Binary
Property Name Type Output Argument MIMEHierarchy
Output Argument
MIME Hierarchy
The third business service of the workflow converts the MIME hierarchy to a document, and sends it to the EAI Siebel Adapter business service. This step uses the EAI MIME Hierarchy Converter business service with the MIME Hierarchy to Siebel Message method. This step requires the following input and output arguments.
Input Argument Type Property Name Property Data Type MIME Hierarchy
Process Property
MIMEHierarchy
Hierarchy
Property Name Type Output Argument SiebelMessage
Output Argument
Siebel Message
The last step of the workflow writes the information into the database using the EAI Siebel Adapter business service with the Insert or Update method. This step requires the following input argument.
Input Argument Type Property Name Property Data Type Siebel Message
Process Property
SiebelMessage
Hierarchy