User Determination in WF Programming Exit...

Dart, Jocelyn jocelyn.dart at sap.com
Thu Sep 29 06:03:09 EDT 2005


Use the _RULE_RESULT container element of the rule - bind it back to a
container element in your workflow. This is picked up after the rule is
executed, so you should then be able to bind it from the workflow to the
task if you wish. 
 
 
This assumes you are using a rule to determine your agents of course, but
recommended options are either to use a rule or an expression(in which case
you would have the agents in a container element anyway). 
 
 

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 <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. 

 

  _____  

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Klika, Michael
Sent: Thursday, 29 September 2005 7:31 PM
To: SAP Workflow Users' Group
Subject: User Determination in WF Programming Exit...


Hi Experts

I got stuck with the following problem:

I implemented a workitem user exit on a WAS6.40 and managed to determine the
actual agent of a workitem at the "after_execution" event from the workitem
container. So that's fine.

Now: 
How can I read the users that are assigned in the workflow definition (e.g.
via orgunit, position, multiline container element) to a workitem (or more
correctly step)? This should be done after creation of the workitem but
before execution. At that stage, there is of course no "_Actual_Agent"
stored in the container. And even worse: There ist not workitem stored in
the database yet (so no chance to determine users conventionally), but WI-ID
exists in the current wf-context.

I played around with some of the methods I found, but they (or similar
attributes) where either private or had no returning parameters...

Any idea is highly appreciated!
Cheers, Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050929/4960d6f2/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1804 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20050929/4960d6f2/attachment.bin


More information about the SAP-WUG mailing list