Outbound Workflow Process
To execute the map for an outbound process create a workflow process to query the database, purge the data map, execute the data map, and then write the XML into a file. The following examples illustrate integration between contact and employee business objects.
To create an outbound workflow process
In Siebel Tools, create a workflow process consisting of Start, End, and four business service steps. Set up each business service according to the task it needs to accomplish.
Note: Use the EAI Data Mapping Engine Purge step only in a development environment.Define the following process properties:
Input Argument Type Employee Message
Hierarchy
IntObjName
Hierarchy
Process Instance Id
String
Error Code
String
Error Message
String
Object Id
String
Siebel Operation Object Id
String
The Read DTE from File step uses the EAI Siebel Adapter business service with the Query method, to query the information from the database. The business service uses the following input and output arguments.
Input Argument Type Value Output Integration Object Name
literal
An Employee
Search Specification
Literal
[Employee.Last Name] LIKE "Peterson"
Property Name Type Output Argument Employee Message
Output Argument
Siebel Message
Note: For more information on using the EAI Siebel Adapter, see Integration Platform Technologies: Siebel Enterprise Application Integration.The second business service step purges the map using the EAI Data Transformation Engine business service (display name is EAI Data Mapping Engine) with the Purge method. This step is only for development mode so that the latest map is picked for the process and should not be used in a production environment. This step does not require any input or output arguments.
The third business service step uses the EAI Data Transformation Engine business service with the Execute method to execute the data map. The business service uses the following input and output arguments.
Input Argument Type Value Property Name Property Data Type Map Name
Literal
Outbound DDTE Map
-
-
Output Integration Object Name
Literal
My DTE
-
-
Siebel Message
Process Property
-
Employee Message
Hierarchy
Property Name Type Output Argument IntObjName
Output Argument
Siebel Message
The Siebel Query step uses the EAI XML Write to File business service with the Write Siebel Message method to write the XML into a file. The business service uses the following input and output arguments.
Input Argument Type Value Property Name Property Data Type File Name
Literal
c:\emp.xml
-
-
Siebel Message
Process Property
-
IntObjName
Hierarchy
The output argument for this step is optional and can be defined as follows.
Property Name Type Value Output Argument IntObjName
Output Argument
-
Siebel Message
You can use this argument to put the Siebel Message into a Hierarchy type process property.
Use the Workflow Process Simulator to test your workflow process.
Note: For details on creating a workflow process and using the Workflow Process Simulator to test your workflow process, see Siebel Business Process Framework: Workflow Guide.