Inbound Workflow Process

To execute the map for an inbound process you need to create a workflow process to read the data from a file, purge the data map, execute the data map, and then write the XML into a file.

To create an inbound workflow process

  1. In Siebel Tools, create a workflow process consisting of Start, End and four business service steps. 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.
    In this image, the following are connected to each other in the following order: Start, Read DTE from File, EAI Data Mapping Engine Purge, EAI Data Mapping Engine Execute, Upsert Contact, End.
  2. Define the following process properties:

    Name Data Type

    Contact Message

    Hierarchy

    DTE Message

    Hierarchy

    Process Instance Id

    String

    Error Code

    String

    Error Message

    String

    Object Id

    String

    Siebel Operation Object Id

    String

  3. The Read DTE from File step uses the EAI XML Read from File business service with the Read Siebel Message method, to read the information from a file. The business service uses the following input and output arguments.

    Input Argument Type Value

    File Name

    Literal

    c:\emp.xml

    Property Name Type Output Argument

    DTE Message

    Output Argument

    Siebel Message

  4. The second business service step purges the map using the EAI Data Transformation Engine business service (display name is EAI Data Mapping Engine) 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.

  5. The third business service step uses the EAI Data Transformation 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

    Inbound DDTE Map

    -

    -

    Output Integration Object Name

    Literal

    A Contact

    -

    -

    Siebel Message

    Process Property

    -

    DTE Message

    Hierarchy

    Property Name Type Output Argument

    Contact Message

    Output Argument

    Siebel Message

  6. The Upsert Contact step uses the EAI Siebel Adapter business service with Insert or Update method to write the data into the database. This business service uses the following input argument.

    Input Argument Type Property Name Property Data Type

    Siebel Message

    Process Property

    Contact Message

    Hierarchy

    This step does not have any output arguments.

    Note: For more information on using the EAI Siebel Adapter, see Integration Platform Technologies: Siebel Enterprise Application Integration.
  7. 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.