Retrieving WF Agents from SWWUSERWI

Dart, Jocelyn jocelyn.dart at sap.com
Mon Jan 30 17:38:02 EST 2006


Dale, 
Which release are you on?
You should avoid direct use of tables. 
Look instead at the WAPIs (function modules prefixed SAP_WAPI*)
Also if you are in a high enough release there are other options for capturing 
original and forwarded agents such as the _RULE_RESULT container element, 
events to recalculate agents on active work items, the executed_by user of a work item etc.   


Regards,
Jocelyn Dart
Senior Consultant
SAP Australia Pty Ltd.
Level 1/168 Walker St.
North Sydney 
NSW, 2060
Australia
T   +61 412 390 267
M   + 61 412 390 267
E   jocelyn.dart at sap.com
http://www.sap.com

The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 
Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.
Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Dale Brown
Sent: Tuesday, 31 January 2006 5:31 AM
To: sap-wug at mit.edu
Subject: Retrieving WF Agents from SWWUSERWI


Our worlfkow has been in place for a few months and now we want to identify
multiple forwarding agents.

On our task that calls the FIPP release method, when an agent backs out of
the
task without rejecting or releasing it, the workflow just recircs and puts
the work item
back in the orignal list of agents that were identified to complete this
task.

However, one of the original agents, can forward the work item to other
agents. If one of these
forwarded agents just backs out of it, then it still recircs back to the
original list of agents.
We desire to keep the forwarded list of agents, once it has been forwarded.

I can write a method that will tell me the actual agent (one of the ones it
was forwarded to)
 that backed out of the work item, without releasing or rejecting it, but I
can not obtain the
rest of the forwarded agents. I was looking to go to the SWWUSERWI table,
but the work
item key changes before my new method step gets called.  A new work item is
assigned
and the prior work item is removed from SWWUSERWI .

Without a repair to SAP code, is there another way to capture all of the
forwarded agents?








Dale R. Brown
Duke University
OIT Application and Database Services
919.684.5341
http://faithforthefamily.com/sure.cfm    ç===



_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list