Bookshelf Home | Contents | Index | Search | PDF |
Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > 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) workflow process
- From the application-level menu, choose View > Site Map > Business Process Administration > Workflow Processes.
- Query for Export Account (File) workflow process.
- 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 Account Message is defined to identify the outbound Account as a hierarchical structure. The Error Message, Error Code, Object Id, Process Instance Id, and Siebel Operation Object Id properties are included in each workflow by default.
Note also how the Object Id process property is set to the account number 1-6, in the Default column. This string identifies an actual account in the Siebel Database by its Row Id. You may set this workflow to use the active account instead of specifying a hard-coded account number. You can accomplish this by creating a button that invokes this workflow from the Account screen, or you can pass the value of the Object Id into the workflow process as an input argument.
- Click the Process Designer tab in the bottom applet to review the process design for this workflow process.
- Double-click the first step after Start to review its 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.
Input Arguments Type Value Property Name Property Data Type Output Integration Object Name Literal Sample Account - - Object Id Process Property - Object Id StringNote 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.
The output from this step is Account Message. Account Message is a process property that will include the Siebel Message, which is the instance of Account that includes data for account number 1-6. The format is specified by the Sample Account integration object.
- Double-click the second step and 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.
Input Arguments Type Value Property Name Property Data Type File Name Literal c:\account.xml - - Siebel Message Process Property - Account Message HierarchyThe 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.
Bookshelf Home | Contents | Index | Search | PDF |
Business Processes and Rules: Siebel eBusiness Application Integration Volume IV Published: 18 April 2003 |