Application Services Interface Reference > Customizing an Application Services Interface >

Customizing Workflows to Use ASIs


Workflows can invoke some ASIs for their processes. You can customize workflows to use the ASIs in the individual Siebel applications. In the following scenario, Figure 9 illustrates a workflow to Synchronize Account, invoking different ASI methods, QuerybyID and Synchronize.

NOTE:  For more information about customizing workflows, see the application-specific documentation.

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 Figure 9, 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.

Figure 9.  Synchronize Account Workflow

The QueryById method contains the method arguments shown in Table 6.

Table 6.  QueryById Method Arguments
Name
Display Name
Integration Object
Data Type
Type
Storage Type

PrimaryRowID

ID

 

String

Input

Property

SiebelMessage

Account Interface

Account Interface

Integration Object

Output

Hierarchy

The Synchronize method contains the method argument shown in Table 7.

Table 7.  Synchronize Method Argument
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.

Table 8 shows the input arguments.

Table 8.  Input Arguments
Input Argument
Type
Property Name
Property Data Type

ID

Process Property

Object ID

String

Account Interface

Process Property

Account Message

Integration Object

Table 9 shows the output argument.

Table 9.  Output Argument
Property Name
Type
Output Argument

Account Message

Output Argument

Account Interface

Application Services Interface Reference