hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copy task - send email if files are copied

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Variables and Regular Expressions
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Mon Jun 02, 2008 10:21 am    Post subject: Copy task - send email if files are copied Reply with quote

User support question:

i would like to create a chain that contains a file move followed by an email so that i get an email if the file move finds files and moves them. however the 'copy files' job return the same exit code (0) whether or not it finds files to move. is there a better way to handle what i am trying to accomplish?
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Mon Jun 02, 2008 10:21 am    Post subject: Reply with quote

Use a Variable Monitor task to monitor the number of files copied. The variable is:
Copy::FilesCopied

if variable value > 0, then run the email task.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Variables and Regular Expressions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group