Wait Until Satisfied

Wait Until Satisfied

If enabled, the task instance starts and continues to run until one of the following events occurs:

  • If Monitor Type = Exists and the specified file exists or appears, the task instance completes with a status of SUCCESS.

  • If Monitor Type = Missing and the specified file does not exist (or any part of the path is missing), or exists then disappears, the task instance completes with a status of SUCCESS.

If not enabled, the task instance:

  1. Starts.

  2. Checks for the existence of the file.

  3. Takes one of the following actions:

    • If Monitor Type = Exists and the file exists, the task instance completes with a status of SUCCESS.

    • If Monitor Type = Exists and the file does not exist (or any part of the path is missing), the task instance completes with a status of FAILURE.

    • If Monitor Type = Missing and the file exists, the task instance completes with a status of FAILURE.

    • If Monitor Type = Missing and the file does not exist (or any part of the path is missing), the task instance completes with a status of SUCCESS.