How can I check if a workflow instance for a particular objec t is already in process?

Bertrand, Scott scott.bertrand at sap.com
Tue Apr 15 13:53:36 EDT 2003


Hi Torsten,
 
You could use FM SAP_WAPI_WORKITEMS_TO_OBJECT supplying the object type and the object key.  If there is a running flow(s), the flow number will be in table WORKLIST.  If WORKLIST is empty, there are no running flows.
 
Hope this Helps,
Scott
 
Scott Bertrand
Senior Consultant
Global Professional Services Organization
SAP NetWeaver Practice Unit
SAP America, Inc.
 
3999 Westchester Pike
Newtown Square, PA 19073
T   610-661-1905
F   610-661-1906
Mail to:  scott.bertrand at sap.com
http://www.sap.com
 
 
 
-----Original Message-----
From: Torsten Schnorpfeil [mailto:torsten at processflow.de]
Sent: Tuesday, April 15, 2003 12:02 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: How can I check if a workflow instance for a particular object
is already in process?
 
 
Hi guys,
 
here's the questions: I need to figure out if a certain instance of a workflow with a particular object key is already running. I checked the work item header table, but it didn't help much. Does anybody know the name of the table where all the values of a workflow container are stored during
runtime? This would give me the capability to check on this table.
 
OR: Does anybody have another idea how to achieve my purpose?
 
THX!
 
Cheers,
 
Torsten
 


More information about the SAP-WUG mailing list