Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > Data Mapping Using the Siebel Data Mapper > Examples of Workflow Process >

Outbound Workflow Process


To execute the map for an outbound process create a workflow process to query the database, purge the data map, execute the data map, and then write the XML into a file. The following examples illustrate integration between contact and employee business objects.

To create an outbound workflow process

  1. Navigate to Workflow Process Designer.
  2. Create a workflow process consisting of Start, End, and four business services. Set up each business service according to the task it needs to accomplish.
  3. NOTE:  The EAI Data Mapping Engine Purge step should only be used in a development environment.

    Click for full size image

  4. Define the process properties, using the following table as a guide.
  5. Input Argument
    Type
    Employee Message
    Hierarchy
    IntObjName
    Hierarchy
    Process Instance Id
    String
    Error Code
    String
    Error Message
    String
    Object Id
    String
    Siebel Operation Object Id
    String

  6. The first business service after Start uses the EAI Siebel Adapter business service with Query method, to query the information from the database. The business service uses the following input and output arguments.
  7. Input Argument
    Type
    Value
    Output Integration Object Name
    literal
    An Employee
    Search Specification
    Literal
    [Employee.Last Name] LIKE "Peterson"

    Property Name
    Type
    Output Argument
    Employee Message
    Output Argument
    Siebel Message

    NOTE:  For more information on using the EAI Siebel Adapter, see Integration Platform Technologies: Siebel eBusiness Application Integration Volume II.

  8. The second business service purges the map using the EAI Data Mapping Engine business service with the Purge method. This step is only for development mode so that the latest map is picked for the process and should not be used in a production environment. This step does not require any input or output arguments.
  9. The third business service uses the EAI Data Mapping Engine business service with the Execute method to execute the data map. The business service uses the following input and output arguments.
  10. Input Argument
    Type
    Value
    Property Name
    Property Data Type
    Map Name
    Literal
    Outbound DDTE Map
    -
    -
    Output Integration Object Name
    Literal
    My DTE
    -
    -
    Siebel Message
    Process Property
    -
    Employee Message
    Hierarchy

    Property Name
    Type
    Output Argument
    IntObjName
    Output Argument
    Siebel Message

  11. The last business service uses the EAI XML Write to File business service with the Write Siebel Message method to write the XML into a file. The business service uses the following input and output arguments.
  12. Input Argument
    Type
    Value
    Property Name
    Property Data Type
    File Name
    Literal
    c:\emp.xml
    -
    -
    Siebel Message
    Process Property
    -
    IntObjName
    Hierarchy

    The output argument for this step is optional and can be defined as follows.

    Property Name
    Type
    Value
    Output Argument
    IntObjName
    Output Argument
    -
    Siebel Message

    You can use this argument to put the Siebel Message into a Hierarchy type process property.

  13. Use the Workflow Process Simulator to test your workflow process.
  14. NOTE:  For details on creating a workflow process and using the Workflow Process Simulator to test your workflow process, see Siebel Business Process Designer Administration Guide.


 Business Processes and Rules: Siebel eBusiness Application Integration Volume IV 
 Published: 18 April 2003