Can't use roles as agents in expressions?

Edward Diehl edwarddiehl at hotmail.com
Thu Mar 1 08:36:44 EST 2007


Mike,
The way you do that is to use the role to define the possible agents and then don't assign any agent at all in the task at run time.  It will then go to all of the possible agents; i.e. your role.
 
Hope that helps,
Ed


To: sap-wug at mit.eduSubject: Re: Can't use roles as agents in expressions?Date: Thu, 1 Mar 2007 07:38:03 -0500From: workflow99 at aol.com
Mike,
 
I tried the same a couple of years ago on a 6.20 system as well and my experience was the same. The agent type in WFSYST-AGENT can only be the standard HR org objects like Job, Position, Org Unit etc. Definitely Role and Rule do not work that way.
 
Best Regards,Ramki Maley.
  -----Original Message-----From: asap at workflowconnections.comTo: sap-wug at mit.eduSent: Thu, 1 Mar 2007 5:43 AMSubject: Can't use roles as agents in expressions?


G'Day,
I just noticed that one cannot use a role in an agent expression. Can
anyone confirm whether this is supposed to be so or if it's a bug? The
docs are quiet on the matter.

e.g. in the WF builder I can assign agent type role and assign ZMYROLE.
Recipients are all users with role ZMYROLE, great.

If I create a container element Agent type WFSYST-AGENT and assign
AGZMYROLE, the WI ends up with nobody on our 6.20 system.

Of course one can work around this by an extra step/attribute, but just
wondering whether why I should have to.
Cheers,
Mike


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



AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20070301/b16d91a3/attachment.htm


More information about the SAP-WUG mailing list