Siebel Energy Guide > Defining Integration Workflows for Siebel Energy >

Sample Integration Workflow: CUT Send Account Data


This section examines a send-type sample workflow process to help you understand how the workflow process is set up.

The CUT Send Account Data workflow process sends an XML string, created from an account record, to an IBM MQSeries queue.

This workflow process is shown in Figure 18.

Figure 18.  CUT Send Account Data Workflow
Click for full size image

CUT Send Account Data Workflow Properties

Properties that apply to all steps of a workflow process are called workflow process properties. These properties apply to all workflow processes:

  • Error Message
  • Error Code
  • Object Id
  • Siebel Operation Object Id

The CUT Send Account Data workflow has these additional properties:

  • Account XML. Specifies the Siebel object that has been converted to XML.
  • Input: Siebel Int Object Name. Specifies the input Integration Object used in send workflows.
  • Process Instance Id. Specifies the process instance and is automatically populated when a process is executed and persistence is enabled.

CUT Send Account Data Workflow Steps

CUT Send Account Data Workflow includes the steps described in this section.

Get Account Data Subprocess Step

The first step after Start is the Get Account Data subprocess. This subprocess is shown in contains two steps:

  • Get Account Data
  • Convert to XML

This subprocess is shown in Figure 19.

Figure 19.  CUT Get Account Data Subprocess Workflow
Click for full size image
Get Account Data Step

This step uses the query method of the Siebel EAI Adapter to get an instance of an account record from the Siebel database. The CUT Sample Account IO 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 contains the row ID for the account in the sample DB.

NOTE:  The CUT Sample Account IO value is actually specified as a process property that is used as the input argument for the process step.

Convert to XML Step

This step uses the Integration Object Hierarchy to XML Document method of the EAI XML Converter to convert the outbound Siebel Message to XML and store it in the Account XML output argument.

Send Step

The last step in the CUT Send Account Data workflow process before End invokes the EAI MQSeries Server Transport to put the XML message onto the MQSeries queue, called Employee. The message is represented by the Message Text argument.

The Queue Manager Name and Physical Queue Name are defined during the MQSeries setup. The Account XML message is sent to the queue specified by the Physical Queue Name property, which is managed by the queue manager specified in the Queue Manager Name property.

Siebel Energy Guide