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

Soady, Phil phil.soady at sap.com
Tue Apr 15 19:11:27 EDT 2003


Did you try swi6.
This requires the Object to have implemented IFFIND.
But many have, and this may work.
 
good luck
 
Phil Soady
Senior Consultant
Business Technologies
SAP Australia
* : 0412 213 079
* : phil.soady at sap.com
 
 
 
 
 
-----Original Message-----
From: Bertrand, Scott
Sent: Wednesday, April 16, 2003 3:54 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: How can I check if a workflow instance for a particular objec t is already in process?
 
 
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