Hi Andrea,

Your best bet here if you are using CAS-PGE
would be to indicate somehow in your <exe> block
that a failure has occurred. The reality is that
CAS-PGE runs as a script on the actual node so you
have the full power of scripting and linux to report
errors, etc., and to signal back. If CAS-PGE gets
a signal that there has been an error it will propagate
up. 

My suggestion then may be to extend StdPgeTaskInstance
and add your own custom state reporting catching CAS-PGE’s
error and flowing it up.

Cheers,
Chris

—
Chris Mattmann
chris.mattm...@gmail.com






-----Original Message-----
From: Andrea Fonti <andrea.fo...@altecspace.it>
Reply-To: <dev@oodt.apache.org>
Date: Monday, November 2, 2015 at 2:02 AM
To: <dev@oodt.apache.org>
Subject: Workflow failure - How can i customize workflow statuses in order
to have an ERROR status?

>Hi everyone,
>
> 
>
>Does the oodt  batchstub have a way to report an error condition to the
>workflow manager?
>
>Now I have exceptions in logs but the workflow manager component reports a
>workflow as finished even if it has failed tasks,
>
>Should I develop code in order to signal  failure to the workflow manager
>from the batch stub?
>
> 
>
>Best regards
>
>Andrea
>
>---- ALTEC S.p.A. ----
>
>COMUNICAZIONE IMPORTANTE
>La presente email è destinata solo al/i destinatario/i sopra indicato/i.
>Può riguardare un messaggio confidenziale e contenere informazioni e dati
>di
>natura RISERVATA O CLASSIFICATA. Non è consentita la sua lettura indebita,
>la sua duplicazione o la sua divulgazione. Le opinioni dell'autore di
>questa
>email non sono  necessariamente le opinioni di ALTEC S.p.A.
>Nulla di quanto contenuto in questa email può sostituire un contratto
>ovvero una obbligazione vincolante per ALTEC S.p.A.
>Nel caso doveste ricevere la presente email per errore, siete
>cortesemente pregati di distruggere la Vostra copia e di contattarci
>telefonicamente o a mezzo email o facsimile. Grazie.
>
>IMPORTANT NOTICE
>This email is intended only for the use of the above mentioned
>addressee(s).
>It is confidential and may contain legally PRIVILEGED OR CLASSIFIED
>information and data. Unauthorized reading, copying, disclosure or use is
>strictly prohibited. The views of the author hereof may not necessarily
>constitute the views of ALTEC S.p.A.
>Nothing in this email shall bind ALTEC S.p.A. in any contract or
>obligation.
>If you received this email/facsimile through an error, please destroy your
>copy and telephone or email/fax us immediately. Thank you.


Reply via email to