Table of Contents

Search

  1. Preface
  2. Introduction
  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 1: Raise Error

Example 1: Raise Error

In this example, if no files are found  on a server (by checking the ${numberOFfiles} variable), then the task will raise an error and abort the Project.
  1. From within the Project Designer page, expand the Miscellaneous folder in the Component Library, and then drag the Raise Error task to the Project Outline.
  2. On the Basic tab of the Raise Error task, specify the Message to write to the Job Log. If no Message is specified, the system variable system.job.error will be written to the Job Log.
  3. On the Control tab of the Raise Error Task, specify the condition that must be met to run this task. In this case we will check if the number of files is equal to 0.
  4. Click the
    Save
    button when finished.

0 COMMENTS

We’d like to hear from you!