Business Processes and Rules: Siebel Enterprise Application Integration > Defining Workflows for Siebel EAI > Sample Integration Workflows >

Export Employee (MQSeries)


This is a sample workflow process that sends an XML string for an employee to an IBM MQSeries queue.

To review the Export Employee (MQSeries) workflow process

  1. Navigate to the Administration - Business Process > Workflow Processes view.
  2. Query for Export Employee (MQSeries) workflow process.
  3. With the Export Employee (MQSeries) workflow process selected, click the Process Properties tab to review the process properties defined for this workflow process.

    Workflow process properties are global to the entire workflow. For example, as shown in the following table, the Export Employee (MQSeries) workflow has multiple properties. The Employee Message contains the object as an integration object hierarchy, before conversion. The Employee XML property specifies the Siebel object that has been converted to XML. The Error Code, Error Message, Object Id, and Siebel Operation Object Id properties are included in each workflow by default.

    Name
    Data Type
    In/Out
    Default

    Employee Message

    Hierarchy

    In/Out

    -

    Employee XML

    Binary

    In/Out

    -

    Error Code

    String

    In/Out

    -

    Error Message

    String

    In/Out

    -

    Object Id

    String

    In/Out

    1-548

    Siebel Operation Object Id

    String

    In/Out

    -

  4. Click the Process Designer tab in the bottom applet to review the process design for this workflow process.
  5. Double-click the first business service after Start to review its method and arguments.

    This step uses the Query method of the EAI Siebel Adapter business service, with the following input arguments to get an instance of an Employee record from the Siebel Database. The Sample Employee integration object describes the structure of the Employee business object and was created using the Integration Object Builder wizard. The other part of the query criteria is the Object Id, which is a process property containing value 1-548.

    Input Arguments
    Type
    Value
    Property Name
    Property Data Type

    Output Integration Object Name

    Literal

    Sample Employee

    -

    -

    Object Id

    Process Property

    -

    Object Id

    String

    The output from this step is passed in the Employee Message output argument as described in the following table.

    Property Name
    Type
    Output Argument

    Employee Message

    Output Argument

    Siebel Message

  6. Double-click the second step to review its method and arguments.

    This step uses the Property Set to XML method of the EAI XML Converter business service to convert the outbound Siebel Message to XML. The converter stores the outbound Siebel Message in the Employee XML output argument with the following input argument.

    Input Arguments
    Type
    Property Name
    Property Data Type

    Siebel Message

    Process Property

    Employee Message

    Hierarchy

    The output from this step is passed in to the Employee XML output argument as shown in the following table.

    Property Name
    Type
    Value
    Output Argument

    Employee XML

    Output Argument

    -

    XML Document

  7. Double-click the third step of the workflow to review its method and arguments.

    This step invokes the EAI MQSeries Server Transport business service with the Send method to put the XML message onto the MQSeries queue, Employee. The message is represented by the Message Text argument, as shown in the following table.

    Input Arguments
    Type
    Value
    Property Name
    Property
    Data Type

    Message Text

    Process Property

    -

    Employee XML

    String

    Physical Queue Name

    Literal

    Employee

    -

    -

    Queue Manager Name

    Literal

    Siebel

    -

    -

    The Queue Manager that handles the request is called Siebel. The XML message is put onto the Employee queue, where it remains until another application retrieves it from the queue.

Business Processes and Rules: Siebel Enterprise Application Integration Copyright © 2006, Oracle. All rights reserved.