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: Else Condition

Example: Else Condition

In the example below, a module will be called if one or more files are found in a folder. Otherwise (else) an email will be sent if no files are found.
  1. Generate a File List.
    1. From within the Project Designer page, expand the File System folder in the Component Library, and then drag the Create File List task to the Project Outline.
    2. On the Create File List page, specify the Number of Files Found Variable value.
    3. Click the
      Add
      button to specify the file location for the File Set.
  2. The IF Condition can check for the presence of more than one file.
    1. From within the Project Designer page, expand the Job Control folder in the Component Library, and then drag the If task to the Project Outline.
    2. On the IF page, type the condition statement. Condition statements are based on expressions.
  1. To add a task under the IF condition, drag another task from the Component Library to the Project Outline .
  2. To add an Else clause under the IF condition, right-click the IF condition in the Project outline and choose Add Else. After choosing the Else clause, it will appear in the outline after the IF Condition.
  3. To add a task under the Else clause, drag another task from the Component Library to the Project Outline .

0 COMMENTS

We’d like to hear from you!