Business Processes and Rules: Siebel Enterprise Application Integration > 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.

    NOTE:  The EAI Data Mapping Engine Purge step should only be used in a development environment.

  3. Define the process properties, using the following table as a guide.
    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

  4. 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.
    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 Enterprise Application Integration.

  5. 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.
  6. 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.
    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

  7. 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.
    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.

  8. Use the Workflow Process Simulator to test your workflow process.

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

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