Send email after sending all jobs

Post Reply
Qpdv
Member
Posts: 20
Joined: Thu Dec 03, 2015 2:59 pm

Send email after sending all jobs

Post 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
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Send email after sending all jobs

Post 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?
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
BartDenolf
Newbie
Posts: 7
Joined: Thu Aug 04, 2016 4:06 pm

Re: Send email after sending all jobs

Post 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
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Send email after sending all jobs

Post by sander »

Is your input a folder or separate files?
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
BartDenolf
Newbie
Posts: 7
Joined: Thu Aug 04, 2016 4:06 pm

Re: Send email after sending all jobs

Post by BartDenolf »

A folder containing lots of different files.
Bart
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Send email after sending all jobs

Post by sander »

Strange, it should pickup the whole folder at once. Can you screenshot your folder structure / flow maybe?
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
BartDenolf
Newbie
Posts: 7
Joined: Thu Aug 04, 2016 4:06 pm

Re: Send email after sending all jobs

Post 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
Attachments
Screen Shot 2017-02-06 at 15.45.00.png
Screen Shot 2017-02-06 at 15.45.00.png (22.04 KiB) Viewed 6672 times
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Send email after sending all jobs

Post 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.
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
BartDenolf
Newbie
Posts: 7
Joined: Thu Aug 04, 2016 4:06 pm

Re: Send email after sending all jobs

Post by BartDenolf »

At this moment I'm experimenting with Assemble job but until now I have no success with it.

Thanks
Bart
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Send email after sending all jobs

Post by sander »

Post this part of your flow and I'll fix it for you ;)
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
BartDenolf
Newbie
Posts: 7
Joined: Thu Aug 04, 2016 4:06 pm

Re: Send email after sending all jobs

Post 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
Post Reply