terminate if rule has no result -> workitem is NOT created?

Paul.Bakker@osr.treasury.qld.gov.au Paul.Bakker at osr.treasury.qld.gov.au
Sun Mar 20 20:17:22 EDT 2011


WUG-ers,

What is the expected behaviour if a dialog workitem:

- uses a rule to determine agents
- this rule returns no agents (a function module returns exception
'NOBODY_FOUND')
- the 'Terminate if rule has no result' flag has been set?

I was expecting the workitem to error with a suitable message about rules
failing, but it doesn't.

Instead, the whole workflow goes into error, it puts an inscrutable message
in the log, and no dialog workitem is created at all.

The log message is this:

Executing flow work item
Work item 000000672197: Object FLOWITEM method EXECUTE cannot be executed
Executing flow work item
Error when processing node '0000000004' (ParForEach index 000000)

The workflow administrator would really have to be on the ball to figure
that one out!

My question: Is this a bug in SAP, or a feature? Or am I doing something
wrong?


We're on ECC6.0.

thanks
Paul


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

Only an individual or entity who is intended to be a recipient of this e-mail may access or use the information contained in this e-mail or any of its attachments.  Opinions contained in this e-mail or any of its attachments do not necessarily reflect the opinions of Queensland Treasury.

The contents of this e-mail and any attachments are confidential and may be legally privileged and the subject of copyright.  If you have received this e-mail in error, please notify Queensland Treasury immediately and erase all copies of the e-mail and the attachments.  Queensland Treasury uses virus scanning software.  However, it is not liable for viruses present in this e-mail or in any attachment.  

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




More information about the SAP-WUG mailing list