Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > 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. From the application-level menu, choose View > Site Map > Business Process Administration > Workflow Processes.
  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.
  4. 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, Process Instance 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
    Process Instance Id
    String
    In/Out
    -
    Siebel Operation Object Id
    String
    In/Out
    -

  5. Click the Process Designer tab in the bottom applet to review the process design for this workflow process.
  6. Click for full size image

  7. Double-click the first business service after Start to review its method and arguments.
  8. 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

  9. Double-click the second step to review its method and arguments.
  10. 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

  11. Double-click the third step of the workflow to review its method and arguments.
  12. 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
    Binary
    PhysicalQueueName
    Literal
    Employee
    -
    -
    QueueManagerName
    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 eBusiness Application Integration Volume IV 
 Published: 18 April 2003