IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#38329 - 01/23/12 04:23 AM Imaging error not managed
Arnaud D Offline
OL Newbie

Registered: 02/11/10
Posts: 18
Loc: France
Hi,

I need manage errors from PlanetPress imaging if an email is not communicated from PP Imaging to SMTP Server, in order to alert administrator than this document has not been delivered (by example if SMTP Server is down).
I set intput task error to manage it. If SMTP server is offline, an error appears into PlanetPress Imaging Log "ERROR - Socket Error ..." but it doesn't send document to error. Job disappears from PlanetPress Image Working Directories and nothing happens ?!

Top
#38339 - 01/23/12 11:14 AM Re: Imaging error not managed [Re: Arnaud D]
Pages
Unregistered


Hi,

The On Error tab only works for internal actions like CreatePDF, Digital Action, Rename (amongst others).

PlanetPress Imaging is an external action and the workflow tool has no monitoring of its activities so it would not pickup on the error produced by this plug-in.

You could have Digital Image raise an error but this task doesn't send emails. Further more, there is no actual plug-in that is capable of SMTP monitoring or, at least, capable of knowing the issue would be that the SMTP server would be unreachable.

A script could always handle the incoming emails by parsing them and looking for a specific subject line or similar but this is not a supported solution.

Regards,

Top
#40874 - 10/01/12 01:13 PM Re: Imaging error not managed [Re: Anonymous]
Carl Vincent Offline
OL Newbie

Registered: 12/22/10
Posts: 30
Loc: Varennes
Hi gang...
No other way than send a Email to be advise from a error occurs in PPImage process ?
_________________________
Carl Vincent
Analyste-programmeur (Service de la paie)
Centre d'Information Rx Ltée. / Le Groupe Jean Coutu (PJC) inc
Téléphone : (450) 463-1890 ext: 3464
Courriel : cvincent@jeancoutu.com

Top
#40878 - 10/01/12 01:38 PM Re: Imaging error not managed [Re: Carl Vincent]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Carl,

Sending an Email when an error occurs is pretty much the only way to do error handling with an Image output, and you can configure that in the Preferences under "PlanetPress Image 1".

Besides that, the problem is that the "On Error" tab doesn't work with Image Outputs, since Image is a separate service, and so Workflow is "unaware" of what happens to Image. If you want to use the On Error, use Digital Action instead of PlanetPress Image, which is the same thing, except Digital Action runs in the Workflow service, not a separate service. (you can then use a Send Email output if you're also using Image for the emailing)

Regards,
Raphaël Lalonde Lefebvre

Top
#40881 - 10/01/12 02:00 PM Re: Imaging error not managed [Re: Raphael Lalonde Lefebvre]
Carl Vincent Offline
OL Newbie

Registered: 12/22/10
Posts: 30
Loc: Varennes
Ok thanks...
_________________________
Carl Vincent
Analyste-programmeur (Service de la paie)
Centre d'Information Rx Ltée. / Le Groupe Jean Coutu (PJC) inc
Téléphone : (450) 463-1890 ext: 3464
Courriel : cvincent@jeancoutu.com

Top