WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> Rename and Email combined in one task
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1360343838

Message started by mjellinghaus on Feb 8th, 2013 at 6:17pm

Title: Rename and Email combined in one task
Post by mjellinghaus on Feb 8th, 2013 at 6:17pm
Hello Forum,

I'm looking for some help as I can't get the following combined stepts to work:

1.) seach for files like AAAAAA_BBCCCCC.pdf
2.) rename them to BBCCCCCC.pdf
3.) Send an email if BB equals a certain combination and send them via email.

Step 1 and 2 are working as explected, but the email action does not detect the renamed file..

It's working as soon as I run both actions in seperate jobs, but because of the amount of jobs ad diffrent potential email targets i would like to combine them.

Any idea why the send action might not detect these changed files ?

Title: Re: Rename and Email combined in one task
Post by Gert on Feb 9th, 2013 at 11:20am
Hi,

If you use the "Run Subtask" plugin, all subtasks currently work on the ORIGINAL filename.

If you are concerned about the number of email tasks, you can probably combine a lot of them by using "advanced addressing" as explained on this page:
http://www.watchdirectory.net/wdhelp/plugins/email_addressing.html

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.