Access in workflow container to method exception outcome (cod e and message)

Fred Lunaspa fredlunaspa at hotmail.com
Mon Mar 24 07:54:16 EST 2003


Thanks Tomasz,
 
I was hoping that I missed something that would make it possible to bind an
exception to the workflow container. I'll try to implement a work around as
described by you.
 
Regards,
 
Fred
 
 
 
 
 
 
>From: "Zmudzin,Tomasz,VEVEY,GL-IS/IT" <Tomasz.Zmudzin at nestle.com>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Access in workflow container to method exception outcome (cod
>e and message)
>Date: Mon, 24 Mar 2003 11:03:23 +0100
>
>Fred,
>
>as long as your method is a custom-coded one, whenever raising exceptions
>you can also pass the exception data to a container element. For your
>convenience you can wrap this in a macro that would both run a EXIT_RETURN
>and set the data.
>
>That's the manual workaround. Unfortunately I would not know any way of
>binding the exception parameters to workflow container data that would be
>provided in standard SAP.   In 6.20 you could potentially use the
>IF_SWF_IFS_WORKITEM_EXIT programming interface to have the container
>populated automatically. I admit I have not tested this in practice, so
>that's just a hint on a possible path to be investigated further.
>
>Kind regards,
>Tomasz
>
>-----Original Message-----
>From: Fred Lunaspa [mailto:fredlunaspa at hotmail.com]
>Sent: Monday,24. March 2003 10:10
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Access in workflow container to method exception outcome
>(code and message)
>
>
>Mike, Sharon,
>
>Thanks for your answers!
>
>The reason I need access to the error code and message in the workflow is
>that the step modelled after the outcome 'error occurred' is intended to
>take care of the error (the user assigned must know what has caused the
>workitem to fail).
>
>Regards,
>
>Fred
>
>
> >From: Michael Pokraka <workflow at quirky.me.uk>
> >Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
> >To: SAP-WUG at MITVMA.MIT.EDU
> >Subject: Re: Access in workflow container to method exception outcome
>(code
> >and message)
> >Date: Thu, 20 Mar 2003 12:50:38 +0000
> >
> >Hi,
> >Pass the error no./message back to the flow in a container element.
> >
> >Though why you need to do this may be a valid question: Why not raise
> >different exceptions and model different outcomes based on these?
> >
> >Cheers
> >Mike
> >
> >On Thu, Mar 20, 2003 at 01:03:41PM +0100, Fred Lunaspa wrote:
> > > Hello,
> > >
> > > My method has an exception defined. When this exception occurs an
> >outcome of
> > > my step is 'raised' (error occurred). Can someone tell me how to have
> >access
> > > to the error code and error message in my workflow (i.e. in the tasks
> > > description and/or workitem text)?
> > >
> > > Regards,
> > >
> > > Fred Kouw
> > >
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
>
>
>_________________________________________________________________
>Hotmail en Messenger on the move
>http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/
 
 
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
 


More information about the SAP-WUG mailing list