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:
- Starts.
- Checks for the existence of the file.
- 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.