Customized Workflow Example
A customer using an external application needs to update an account within the Siebel database. The following scenario demonstrates how this customized workflow operates.
In the scenario illustrated in the following image, the object ID is used to query for the account being sent. The QueryById method returns the account, which is stored in the SiebelMessage property. The account information is passed to the External Account Proxy, which sends the account information to the external system through Web services. The external system synchronizes the information and returns any new account information. The Synchronize method takes that new account information and synchronizes the information on the internal system.

The QueryById method contains the method arguments shown in the following table.
Name | Display Name | Integration Object | Data Type | Type | Storage Type |
---|---|---|---|---|---|
PrimaryRowID |
ID |
None |
String |
Input |
Property |
SiebelMessage |
Account Interface |
Account Interface |
Integration Object |
Output |
Hierarchy |
The Synchronize method contains the method argument shown in the following table.
Name | Display Name | Integration Object | Data Type | Type | Storage Type |
---|---|---|---|---|---|
SiebelMessage |
Account Interface |
Account Interface |
Integration Object |
Input/Output |
Hierarchy |
In this example, an interface integration object with the name Account Interface is created to define the external representation of the account. An internal integration object with the name Internal Account Interface is created to describe the structure of the Account business object.
The workflow process properties are used to store data in the workflow. The Object ID property (data type String) is included in each workflow by default. Account Message (data type Integration Object) is defined to store the output of the Query by Account ID step.
The Query by Account step calls the QueryById method of the Siebel Account data synchronization service. The process property Object ID is passed as an input argument. Account Interface is passed as an output argument to the process property Account Message. The External Account Proxy step calls the Synchronize method of the External Account outbound ASI. For the input argument, the process property, Account Message, is passed to the input argument, Account Interface. For the output argument, the method output argument, Account Interface, is passed to the process property, Account Message.
The following table shows the input arguments.
Input Argument | Type | Property Name | Property Data Type |
---|---|---|---|
ID |
Process Property |
Object ID |
String |
Account Interface |
Process Property |
Account Message |
Integration Object |
The following table shows the output argument.
Property Name | Type | Output Argument |
---|---|---|
Account Message |
Output Argument |
Account Interface |