Workflow Error, when setting a User Decision task in status completed

workflow99@aol.com workflow99 at aol.com
Thu Feb 22 07:45:07 EST 2007


Markus,
 
You can use the following FMs
 
SAP_WAPI_DECISION_READ      - Table of Decision Keys and texts are returned

SAP_WAPI_DECISION_COMPLETE  - Supply the required decision key.

 
 
Best Regards,
Ramki Maley.
 
 
-----Original Message-----
From: Klein at abs-team.de
To: sap-wug at mit.edu
Sent: Wed, 21 Feb 2007 12:34 PM
Subject: Workflow Error, when setting a User Decision task in status completed


Hello,
 
in my workflow i have a User Decision task with 2 exists. When i try to set the status of a workitem of this task to completed using the Function Module "SAP_WAPI_WORKITEM_COMPLETE" the workitem itself gets the status completed, but the parent workflow gets the status error with the following message "Error when defining a successor for node <node>" in the protocol.
Its clear why this happens, as the workflow-runtime doesnt know how to continue when the workitem is completed this way. The question is tho, how can i overcome this error? There has to be a way, where i can manually set a user decision task to completeted and the parent workflow just continues.
 
cheers,
Markus
 
_________________

Markus Klein
SAP Senior Consultant

ABS Team GmbH
Muehlenweg 65
37120 Bovenden
Tel +49 551 820 33 0
Mobil +49 151 126 23 047
Email klein at abs-team.de
www.abs-team.de
Geschäftsführer: Dr. Andreas Rupprecht - HRB Göttingen 1535
 
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
________________________________________________________________________
Check out the new AOL.  Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070222/aad7e11f/attachment.htm


More information about the SAP-WUG mailing list