Table of Contents

Search

  1. Preface
  2. PowerCenter Mappings and Workflows
  3. B2B Data Exchange Transformations
  4. B2B Data Exchange Workflows
  5. Dashboard and Reports
  6. Creating Workflows for Event Reconciliation
  7. Forms Designer
  8. Configuring Email for Monitor Notification
  9. Dashboard and Reports
  10. B2B Data Exchange Web Services API
  11. B2B Data Exchange Run-time Java API
  12. B2B Data Exchange Forms Designer Java API

Step 5. Create the PowerCenter Workflow and Session

Step
5
. Create the PowerCenter Workflow and Session

Create the workflow and the session that runs the mapping. You create the workflow in the same way you create other PowerCenter workflows.
If you use a JMS source, you must configure the session as a real-time session.
  1. In the Workflow Designer, create the workflow and the session object. For general information about creating workflows and sessions, see the
    PowerCenter Advanced Workflow Guide
    .
  2. In the
    Edit Tasks
    dialog box, click the
    Properties
    tab.
  3. Set the values for the following attributes:
    Attribute
    Value
    Commit Type
    Source
    Commit Interval
    1
  4. In the
    Properties
    section for the selected source type, define the source attributes.
    Set values for the following attributes:
    Attribute
    Value
    Source filename
    $InputFile_<eventAttributeValue>
    The event attribute value must match the value in the source event that
    B2B Data Exchange
    sends to the workflow.
    • If you select a JMS source, set the values for the following attributes:
      Attribute
      Value
      Real-time Flush Latency
      1
      JMS Queue Reader Mode
      Message Consumer
    • If you select a file source, set the values for the following attributes:
      Attribute
      Value
      Source filename
      $InputFile_<eventAttributeValue>
      The event attribute value must match the value in the source event that
      B2B Data Exchange
      sends to the workflow.
  5. Save the session object.
  6. To choose the format of the JMS message, select the
    Message Body Type
    option in the
    JMS Message Body Columns
    tab of the
    Edit Tables
    dialog box.
    • TextMessage. Sends the JMS message as a plain text file.
    • BytesMessage. Sends the JMS message as a binary file.
    You cannot use the MapMessage format in workflows for
    B2B Data Exchange
    .
  7. Test the workflow to ensure that it works correctly.

0 COMMENTS

We’d like to hear from you!