Table of Contents

Search

  1. Preface
  2. Product Overview
  3. Before You Begin
  4. Tutorial Lesson 1
  5. Tutorial Lesson 2
  6. Tutorial Lesson 3
  7. Tutorial Lesson 4
  8. Tutorial Lesson 5
  9. Tutorial Lesson 6
  10. Naming Conventions
  11. Glossary

Getting Started

Getting Started

Creating a Workflow

Creating a Workflow

In the following steps, you create a workflow with a non-reusable session to run the mapping you just created.
Verify that the Integration Service that runs the workflow can access the source XML file. Copy the Employees.xml file from the Tutorial folder to the $PMSourceFileDir directory for the Integration Service and rename it data.xml. Usually, this is the SrcFiles directory in the Integration Service installation directory.
  1. Open the Workflow Manager.
  2. Connect to the repository and open the tutorial folder.
  3. Go to the Workflow Designer.
  4. Click
    Workflows
    Wizard
    .
    The
    Workflow Wizard
    opens.
  5. Name the workflow wf_EmployeeSalary and select a service on which to run the workflow. Then click
    Next
    .
  6. Select the m_EmployeeSalary mapping to create a session.
    The following image shows the mapping m_ EmployeeSalary highlighted :
    The Create Sessions page of the Workflow Wizard shows m_EmployeeSalary highlighted in the Select the Mappings list.
    The
    Workflow Wizard
    creates a session called s_m_EmployeeSalary.
  7. Click
    Next
    .
  8. Click
    Run on demand
    and click
    Next
    .
    The
    Workflow Wizard
    displays the settings you chose.
  9. Click
    Finish
    to create the workflow.
    The
    Workflow Wizard
    creates a Start task and session. You can add other tasks to the workflow later.
  10. Click
    Repository
    Save
    to save the workflow.
  11. Double-click the s_m_EmployeeSalary session to open it for editing.
  12. Click the
    Mapping
    tab.
  13. Select the connection for the SQ_DEPARTMENT Source Qualifier transformation.
  14. Select the XMLDSQ_Employees source on the
    Mapping
    tab.
  15. Verify that the data.xml file is in the specified source file directory.
  16. Click the ENG_SALARY target instance on the
    Mapping
    tab and verify that the output file name is eng_salary.xml.
    The following image shows the contents of the
    Mapping
    tab:
    eng_salary.xml appears as the Output Filename value.
    1. Output file name
  17. Click the SALES_SALARY target instance on the
    Mapping
    tab and verify that the output file name is sales_salary.xml.
  18. Click
    OK
    to close the session.
  19. Click
    Repository
    Save
    .
  20. Run and monitor the workflow.
    The Integration Service creates the eng_salary.xml and sales_salary.xml files.

0 COMMENTS

We’d like to hear from you!