View previous topic :: View next topic |
Author |
Message |
melvin Site Admin
Joined: 25 May 2006 Posts: 635 Location: Santa Barbara, california
|
Posted: Thu Mar 12, 2015 10:20 am Post subject: Monitoring based on copy task exit code |
|
|
Email Support Request:
Does the copy task create change its exit code when it copies a file? I want to send an email notification and base it on the exit code of a Copy task.
The FTP task has its exit code changed to -100 when it sends a file. But the copy task exit code =0 whether or not it copies files.
Do we have a workaround if it does not change the exit code? |
|
Back to top |
|
 |
melvin Site Admin
Joined: 25 May 2006 Posts: 635 Location: Santa Barbara, california
|
Posted: Thu Mar 12, 2015 10:24 am Post subject: |
|
|
The copy task does not change its exit code.
You can run a variable monitor task and monitor the Files Copied variable. (Files Copied > 0).
The variable monitor task changes its exit code to -100 if criteria is satisfied. Base the email notification on this variable monitor task. |
|
Back to top |
|
 |
|