Page 1 of 1

Send email after sending all jobs

Posted: Thu Dec 03, 2015 3:10 pm
by Qpdv
Hi,

I have a flow that retrieves a folder with pdf files. But now i would like to send an email when a folder has been transferred instead of the separate pdf files/jobs.

Hierarchy
-DIR_001
--101
---Pdf1.pdf
---Pdf2.pdf
--102
---Pdf1.pdf
---Pdf2.pdf

So when folder 101 or 102 hes been transferred i would like to receive an email. These folders could contain more than 100 pdf files so receiving an email per pdf would be a little annoying :)

Thanks in advance

Re: Send email after sending all jobs

Posted: Tue Dec 08, 2015 8:49 pm
by sander
This picks up a folder, and one mail is send per folder. Both arrows transfer 'all jobs'.
Image

Folder 101 and folder 102 hold both a couple of files, results in two mails;

Code: Select all

Hello, it's me

Email was triggered by this folder :
101
   Device, EPM+K.pdf
   Device, EPM.pdf

Code: Select all

Hello, it's me

Email was triggered by this folder :
102
   Device, CMYK.pdf
   Device, Grayscale.pdf
   Device, IndiChrome.pdf
This is what you are looking for?

Re: Send email after sending all jobs

Posted: Mon Feb 06, 2017 1:53 pm
by BartDenolf
I have the same problem, but the suggested answer above keeps triggering a mail for each item instead of each folder.

Does anyone have a solution?

Thx Bart

Re: Send email after sending all jobs

Posted: Mon Feb 06, 2017 1:58 pm
by sander
Is your input a folder or separate files?

Re: Send email after sending all jobs

Posted: Mon Feb 06, 2017 2:14 pm
by BartDenolf
A folder containing lots of different files.
Bart

Re: Send email after sending all jobs

Posted: Mon Feb 06, 2017 2:16 pm
by sander
Strange, it should pickup the whole folder at once. Can you screenshot your folder structure / flow maybe?

Re: Send email after sending all jobs

Posted: Mon Feb 06, 2017 3:49 pm
by BartDenolf
Included is a screenshot of a part of the flow.
- The set hierarchy alters the hierarchy so one subfolder is added at the top
- The rename job is there because all info is added as prefix and has to be removed before everything is placed in the archive folder
- The small sidetrack is build because the client wants jpg files from all files who pass the flow. The rename is used to add a suffix "_portal" at the end of all the jpg's.

Thx
Bart

Re: Send email after sending all jobs

Posted: Wed Feb 08, 2017 10:56 am
by sander
I'm not 100% sure but I'm not sure if Set hierarchy path will create a folder?

You can add a Assemble job between your temp ยป Mail send so it will assemble a folder which will trigger the Mail send only once.

Re: Send email after sending all jobs

Posted: Thu Feb 09, 2017 2:32 pm
by BartDenolf
At this moment I'm experimenting with Assemble job but until now I have no success with it.

Thanks
Bart

Re: Send email after sending all jobs

Posted: Thu Feb 09, 2017 2:43 pm
by sander
Post this part of your flow and I'll fix it for you ;)

Re: Send email after sending all jobs

Posted: Mon Feb 13, 2017 1:41 pm
by BartDenolf
If set the Submit hierarchy in an earlier flow to subfolder levels 1 in stead of 10 and let it follow with an Ungroup job. Just before the mail I do an Assemble job. That does the trick.

Thx for all the help!
Bart