Workitems not completing after receiving terminating event

Workflow Developer mysapwug at yahoo.com
Fri Aug 20 11:31:54 EDT 2004


Greetings,
 
We have upgraded our development system from 4.6c to 6.20 sp41. One of our custom workflows which has an asyncronous dialog step does not complete even after the terminating event is received, when executed from the Business Workplace in R/3. This happens for new workflows instantiated in 6.20 as well as those created in 4.6c.
 
The dialog task in question executes a Call transaction in the method. When I execute the transaction asynchronously (directly without executing work item) the process works flawlessly and the workflow completes normally.
 
The event log (SWEL) shows that the terminating event was received and
the receiver SWW_WI_COMP_EVENT_RECEIVE was started correctly. The
workflow log also shows that the "terminating event received".Yet the
workitem status does not change to "completed and the "stale" workitem
remains in the Inbox. Also, the error correction batch job SWERRE
does not notify the workflow administrator of an error even after the
workitem remains "in process" status for over 24 hours.
 
When executing with ABAB debugger on, I noticed that the Commit Work
command in the called transaction (which creates the terminating event) took several minutes to execute (usually it completes in 1-2 seconds). During this time the event log initially shows the following:
 
Action: Receiver started correctly
RFC status: System overloaded, repeat immediately by batch
 
The transaction SM58 shows status "Transaction is executing".
 
After the Commit Work completes, the RFC status message disappears from the Event Log.
 
We usually have the Event Queue turned off. But I tried testing with the Event Queue turned on and it made no difference.
 
Thanks in advance for any assistance you can offer.
 
Robin Sahasranam
Workflow Administrator/Developer
World Bank
 
 
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
 


More information about the SAP-WUG mailing list