Exceptions

Richard Williams (FCF) Richard.Williams at fcf.co.nz
Wed Aug 13 00:53:37 EDT 2003


Thanks Jocelyn, I found that the code was incorrect in my =
method...fixed
that up and then the WF works a treat!!!
 
Richard
 
-----Original Message-----
From: Dart, Jocelyn [mailto:jocelyn.dart at sap.com]
Sent: Wednesday, 13 August 2003 3:40 p.m.
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Exceptions
 
 
That's right Richard, But it's not enough to just define a temporary
exception - your method
code needs to actually raise the exception when the problem occurs. =
Then the
error monitoring job will know to retry it.
Regards,
        Jocelyn Dart=20
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"=20
SAP Australia
email: jocelyn.dart at sap.com=20
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
-----Original Message-----
From: Richard Williams (FCF) [mailto:Richard.Williams at fcf.co.nz]=20
Sent: Wednesday,13 August 2003 12:52 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Exceptions
 
 
I thought that with temporary errors that Workflow will retry =
automatically,
do I need to model it into my workflow then? =20
I just want the work item to retry.
 
Richard
 
 
-----Original Message-----
From: Zmudzin,Tomasz,FRANKFURT,Extern LG-DM
[mailto:Tomasz.Zmudzin at de.nestle.com]
Sent: Tuesday, 12 August 2003 5:30 p.m.
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: Exceptions
 
 
Richard,
 
you need to make sure that the exception is really raised (i.e. that =
the
processing branch with EXIT_RETURN YOUR_EXCEPTION_NUMBER ... ... ... =
... is
really followed). My first feeling would be that processing simply =
continues
in another branch. That's a pretty common programming error.
 
Kind regards,
Tomasz
 
-----Urspr=FCngliche Nachricht-----
Von: Richard Williams (FCF) [mailto:Richard.Williams at fcf.co.nz]
Gesendet: Dienstag, 12. August 2003 06:46
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Exceptions
 
 
I have an exception for PR Blocked, it is set up as a temporary error,
however even though the method contains the exception my workflow still
continues.
 
I think I am missing something, I have checked my containers and =
bindings
all seem fine.  How do I handle the exception error and get the =
workflow to
retry the workitem.
 
Thank you in advance
 
Richard Williams
Fletcher Challenge Forests
SCG, Rotorua
07-349 5224
0274 865 160
 


More information about the SAP-WUG mailing list