Passing data from Custom Role to workflow

Dart, Jocelyn jocelyn.dart at sap.com
Fri Mar 10 06:58:13 EST 2006


Top marks Akshay for noticing the button.

Unfortunately the help is a little vague (doesn't mention it at all....)

However you may also have noticed there are two flavours of rules: Agent
Assignment rules and web/url determination rules. 
So I would suspect that the add returned element feature may only apply
to the latter.

All you can return from a rule is the _RULE_RESULT container element. 

If there is anything else you want to return, use your own separate
task/method prior to the workflow step to which your rule is linked.  


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 Bob Tan
Sent: Wednesday, 08 March 2006 9:52 PM
To: SAP Workflow Users' Group
Subject: Re: Passing data from Custom Role to workflow


Reasons on why data needs to be calculated during role
resolution aside. 

The fact of the matter is that SAP allows for such
returned element to be passed back from the role. 

Go to the container tab in PFAC and you will see an
icon that says 'add returned element' (ECC 5.0).

I have also tried utilizing this feature but failed. I
am able to successfully create the container element
in the role. I used the macro SWC_SET .... to populate
the container element. But during runtime, no values
are passed back into the container element. 

Appreciate any help if anyone has successfully used
this feature. 

Thanks in advance.


--- Mark Pyc <mark.pyc at gmail.com> wrote:

> G'day Ashkay,
> 
> Maybe a rethink in design is necessary. Why is there
> extra information being
> determined during Role Resolution?? If there is data
> that needs to be
> calculated and stored then maybe you should consider
> virtual attributes or
> functional methods which can be called prior to the
> role. The Role
> resolution can be simplified  by passing this
> relevant data in...
> 
> Just a thought.
> 
> Have fun,
> Mark.
> 
> 
> On 08/03/06, akshay.bhagwat at wipro.com
> <akshay.bhagwat at wipro.com> wrote:
> >
> > Hi All,
> >
> > I'm sure some days back I have come across similar
> post, but I lost it ,
> > rather not able to find it. So bare with me if
> this is a repeat question.
> >
> > I want to build role resolution using function
> module and in it along with
> > agents  I want to return some other data to
> workflow.
> > Whether it is possible to pass other data apart
> from agents from role
> > container to workflow?
> >
> > Waiting for your inputs.
> >
> >
> > Regards,
> >
> > Akshay Bhagwat
> >
> > SAP Practice
> >
> > *Wipro Technologies*
> >
> > **': +91 20 2293 3700 x 3608
> > Fax: +91 20 2293 3756
> >
> >
> > The information contained in this electronic
> message and any attachments
> > to this message are intended for the exclusive use
> of the addressee(s) and
> > may contain proprietary, confidential or
> privileged information. If you are
> > not the intended recipient, you should not
> disseminate, distribute or copy
> > this e-mail. Please notify the sender immediately
> and destroy all copies of
> > this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via
> email. The recipient
> > should check this email and any attachments for
> the presence of viruses. The
> > company accepts no liability for any damage caused
> by any virus transmitted
> > by this email.
> >
> > www.wipro.com
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> >
> >
> > _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
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