Workflow Not Failing on Agent Determination

Dart, Jocelyn jocelyn.dart at sap.com
Thu Feb 9 19:12:47 EST 2012


Hi Colm,
>From memory Terminate if Rule Resolution without Result only sends the workflow into error if your function raises the "NOBODY_FOUND" exception.
Raising any old exception won't do.... it needs to be that one.
Regards,
Jocelyn

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Colm.Gavin at kerry.ie
Sent: Tuesday, 15 November 2011 4:42 AM
To: sap-wug at mit.edu
Subject: Workflow Not Failing on Agent Determination

Hi Folks,

I've been using Workflows for quite a while now but have never seen this, could anyone here shed any light?

I have a decision task in my workflow that has agent determination based on a "Function to be Executed" rule, that calls a custom function module. This rule is marked as "Terminate if Rule Resolution Without Result".

However, I am experiencing an issue where the workflow runs, no agent is being picked up but the status remains green. Then, when I re-run the agent determination using SWI1_RULE, it runs through the code exactly as I expect without any changes to master data and picks up the correct agent.

Anyone shed any light on that?! I can investigate the problem with it not finding the correct agent all of the time myself, but why would the workflow not be going to error when it can't find a user?

Many thanks,
Colm


_____________________________________
Colm Gavin
SAP Technical Developer\Designer
Kerryconnect Programme Office
Crowne Plaza Dublin Northwood Hotel
Santry, Dublin 9
Ireland

e-Mail: colm.gavin at kerry.ie

***************************************************************************************

The information transmitted is intended only for the person or entity to which it is

addressed and may contain confidential and/or privileged material. Any review,

retransmission, dissemination or other use of, or taking of any action in reliance

upon, this information by persons or entities other than the intended recipient is

prohibited and may be unlawful. Kerry Group accepts no liability for actions or effects

based on the prohibited usage of this information. Kerry Group is not liable for the

proper and complete transmission of the information contained in this communication or

for any delay in its receipt. If you received this in error, please contact the sender

and delete the material from any computer.



Thank you for your attention.

***************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120210/e158b815/attachment.htm


More information about the SAP-WUG mailing list