Exporting data from a role to the workflow container - 4.6C

Dart, Jocelyn jocelyn.dart at sap.com
Wed Jul 23 19:10:11 EDT 2003


Just a little reminder to everyone that once you get to a WAS system (SAP Basis 6.10 and above, e.g. EBP 3.0, R3Enterprise etc.) you no longer need to do this the hard way but instead can use the _RULE_RESULT parameter in the workflow to rule binding.
 
However Hans - Michael's way will work just fine in 4.6C.
 
By the way if you are lucky enough that your rule's criteria comes only from your object instance and not on data passed dynamically from the workflow then you could use a virtual attribute to resolve your rule instead of a background method.  This gives some performance gains due to not needing a step to resolve the rule - but of course if you do have dynamically passed data then a background method will be needed as Michael has described.
 
Regards,
Jocelyn Dart.
 
 
-----Original Message-----
From: Michael Pokraka
To: SAP-WUG at MITVMA.MIT.EDU
Sent: 23/07/2003 6:16 PM
Subject: Re: Exporting data from a role to the workflow container - 4.6C
 
Hi Hans,
I'm actually talking about two steps:
Step 1 calls your new method, resolves role and passes back agents into
your WF container.
Step 2 is your 'real' task and does whatever. You can use your agent
list from the previous step as you please...
 
Clear as mud?
Cheers
Mike
 
 
On Wed, Jul 23, 2003 at 04:29:25PM +0200, Hans Brilleman wrote:
> Hi Mike,
>
> my apologies if I am sounding daft, but I dont understand how I can
> bring another method in place, as the agent determination and the
> deadline monitoring happens in the same workflow task (step) - as far
as
> I am aware it is not possible to incorporate another method, as a
method
> is already linked to the task to control the task execution.
>
> Thanks,
>
> Hans
>
> >>> workflow at quirky.me.uk 07/23/03 04:14pm >>>
> Hi Hans,
> That is precisely what I was indicating: A method to use this FM,
which
> evaluates the role as a seperate step (apologies if I didn't make this
> part too clear). This will get returned into a WF container and can be
> used in subsequent steps.
> Cheers
> Mike
>
> On Wed, Jul 23, 2003 at 04:03:48PM +0200, Hans Brilleman wrote:
> > Hi Mike,
> >
> > my problem is not getting hold of the agents - this I've got, but I
> > need to get these names into the workflow container, because the
> same
> > step where the role resolution happens, the deadline monitoring is
> > active, and I need to display the names of the users that should
> have
> > acted upon the workitem, to the deadline agent when the deadline
> expires
> > so that the deadline agent can contact these 'culprits' to do their
> > work..
> >
> > Thanks,
> >
> > Hans
> >
> > >>> workflow at quirky.me.uk 07/23/03 02:36pm >>>
> > Hi Hans,
> > You'll have to write a custom method using FM RH_GET_ACTORS to
> resolve
> > a role and return the agents into a WF container.
> > HTH
> > Cheers
> > Mike
> >
> > On Wed, Jul 23, 2003 at 02:24:55PM +0200, Hans Brilleman wrote:
> > > Good day all,
> > >
> > > For agent determination I use a custom role that is linked to a
> > > function module. I need to write the agents determined in this
> > functiion
> > > module to be written to the workflow container so that I can
> display
> > the
> > > names to the agent that receives the deadline messages. Binding
> > between
> > > the role and the worklow is only allowed one way - from the
> workflow
> > to
> > > the role.
> > >
> > > Does anybody know how I can pass data the other way (from the role
> > to
> > > the workflow container) without this binding mechanism being in
> > place.
> > >
> > > Any help will be highly appreciated.
> > >
> > > Thanks,
> > >
> > > Hans.
 


More information about the SAP-WUG mailing list