Business Processes and Rules: Siebel Enterprise Application Integration > Defining Workflows for Siebel EAI > Sample Integration Workflows >
Export Account (File)
This sample workflow process exports an account to a file in an XML format. This workflow uses the EAI Siebel Adapter and the EAI XML Write to File business service to query the data and then convert the data from the Siebel business object to an XML document. To review the Export Account (File) sample workflow process
- Navigate to Administration - Business Process, then Workflow Processes.
- Query for Export Account (File).
- With the Export Account (File) workflow process selected, click the Process Properties tab to review the process properties for this workflow process.
Workflow process properties are global to the entire workflow. For example, as shown in the following table, the Export Account (File) workflow has several properties. The Output Message property is defined to identify the outbound account as a hierarchical structure. The Object Id property is included in each workflow by default.
|
|
|
Object Id |
String |
In/Out |
Output Message |
Hierarchy |
In/Out |
- Click the Process Designer tab in the bottom applet to review the process design for this workflow process.
- Double-click the Get Account step to review its method and arguments.
This step uses the EAI Siebel Adapter business service to query an account from your Siebel Database. The EAI Siebel Adapter uses the following input arguments.
|
|
|
|
|
Output Integration Object Name |
Literal |
Sample Account |
- |
- |
Object Id |
Process Property |
- |
Object Id |
String |
Note that Output Integration Object Name of Sample Account is part of the query criteria. The Sample Account integration object describes the structure of the Account business object and was created using the Integration Object Builder. The other part of the query criteria is the Object Id, which is a process property that includes the account number 1-6 defined as a process property before.
Also note the following output property for this step.
|
|
|
Output Message |
Output Argument |
Siebel Message |
The output from this step is Output Message. Output Message is a process property that will include the Siebel Message, which contains data for the account. The format is specified by the Sample Account integration object.
- Double-click the Write to File step to review its method and arguments.
This step invokes the EAI XML Write to File business service with the Write Siebel Message method. The EAI XML Write to File uses the following input arguments.
|
|
|
|
|
File Name |
Literal |
c:\account.xml |
- |
- |
Siebel Message |
Process Property |
- |
Output Message |
Hierarchy |
The EAI XML Write to File business service converts the hierarchical message to XML and writes the resulting document to the file named in the File Name argument.
|