Possible to fail a job a job from within onCompleted?
17 views
Skip to first unread message
PaulON
unread,
May 23, 2016, 10:30:08 AM5/23/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cascading-user
Hey,
we do a little post processing in the onCompleted() listener.
is it possible to mark a flow/cascade as failed from within the onComplete so that any failures here have visibility?
Cheers,
Paul
Andre Kelpe
unread,
May 23, 2016, 10:51:38 AM5/23/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cascading-user
if you throw an exception in your listener, it will be caught and
rethrown as a FlowException and then your flow should automatically be
marked as failed: