Table of Contents

Search

  1. Preface
  2. Informatica Managed File Transfer Welcome Overview
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Example: For Loop

Example: For Loop

For instance, you may want to check a POP-3 server every 5 minutes for new emails to process. These emails may contain attachments to save to a specified folder.
  1. Create the For Loop that will repeat the Retrieve Email task:
    1. From within the Project Designer page, expand the Loops folder in the Component Library, and then drag the For Loop task to the Project Outline.
    2. On the For Loop page, specify the Begin Index value, the End Index value, and the Step. In this example the Loop will run 20 times and increment by one step each time.
  2. Create the Retrieve Email Task to retrieve the Email:
    1. From within the Project Designer page, expand the Email folder in the Component Library, and then drag the Retreive Email task to the Project Outline.
    2. In the Retrieve Email page, specify the Mail Box and attachment options.
      Other Tasks could be inserted here to further process the saved attachments if needed.
  3. Create a Delay Task to add a pause in the Loop:
    1. From within the Project Designer page, expand the Loops folder in the Component Library, and then drag the Delay task to the Project Outline.
    2. Specify the length of time to wait before checking for new emails.
  4. Click the
    Save
    button.

0 COMMENTS

We’d like to hear from you!