<HTML><BODY>
<div>Mike,</div>


<div>&nbsp;</div>


<div>I&nbsp;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 <SPAN class=correction id=""><SPAN class=correction id="">WFSYST-AGENT</SPAN></SPAN>&nbsp;<SPAN contentEditable=false style="DISPLAY: inline-block"></SPAN>can only be the standard <SPAN class=correction id=""><SPAN class=correction id="">HR</SPAN></SPAN> <SPAN class=correction id=""><SPAN class=correction id="">org</SPAN></SPAN> objects like Job, Position, <SPAN class=correction id=""><SPAN class=correction id="">Org</SPAN></SPAN> Unit etc. Definitely Role and Rule do not work that way.</div>


<div>&nbsp;</div>


<div style="CLEAR: both">Best Regards,<br>
<SPAN class=correction id=""><SPAN class=correction id="">Ramki</SPAN></SPAN> <SPAN class=correction id=""><SPAN class=correction id="">Maley</SPAN></SPAN>.</div>


<div>&nbsp;</div>
&nbsp;<br>
-----Original Message-----<br>
From: asap@workflowconnections.com<br>
To: sap-wug@mit.edu<br>
Sent: Thu, 1 Mar 2007 5:43 AM<br>
Subject: Can't use roles as agents in expressions?<br>
<br>

<STYLE>
.AOLPlainTextBody {
    margin: 0px;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 12px; 
    color: #000; 
    background-color: #fff; 
}

.AOLPlainTextBody pre {
    font-size: 9pt;
}

.AOLInlineAttachment {
    margin: 10px;
}

.AOLAttachmentHeader {
    font: 11px arial;
    border: 1px solid #7DA8D4;
    background: #F9F9F9;
}

.AOLAttachmentHeader .Title {
    font: 11px arial;
    background: #B5DDFA;
    padding: 3px 3px 3px 3px;
}

.AOLAttachmentHeader .FieldLabel {
    font: 11px arial; 
    color: #000000;
    padding: 1px 10px 1px 9px;
    background: #F9F9F9;
}

.AOLAttachmentHeader .FieldValue {
    font: 11px arial; 
    color: #000000;
    background: #F9F9F9;
}

.AOLAttachmentHeader a, .AOLImage a {
    color: #2864B4;
    text-decoration: none;
}

.AOLAttachmentHeader a:hover, .AOLImage a:hover {
    color: #2864B4;
    text-decoration: underline;
}

.AOLWebSuiteCompose .AOLPicturesFullSizeLink,
.AOLWebSuite .AOLPicturesFullSizeLink {
    height: 1px;
    width: 1px;
    overflow: hidden;
}

body {
    background-color: white;
    font-family: "Verdana";
    font-size: 10pt;
    border: 0px;
}

.AOLWebSuiteCompose p {
    margin: 0px;
    padding: 0px;
}

img.managedImg {
    width: 0px;
    height: 0px;
}

img.placeholder {
    width: 275px;
    height: 206px;
    background: #F4F4F4 center center no-repeat;
    border: 1px solid #DADAD6 !important;  
}

</STYLE>


<div class=AOLPlainTextBody id=AOLMsgPart_0_44b05a31-101e-4e26-a286-fd95e82d864e><PRE><TT><SPAN class=correction id=""><SPAN class=correction id="">G'Day</SPAN></SPAN>,
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
<SPAN class=correction id=""><SPAN class=correction id="">docs</SPAN></SPAN> are quiet on the matter.

e.g. in the <SPAN class=correction id=""><SPAN class=correction id="">WF</SPAN></SPAN> builder I can assign agent type role and assign <SPAN class=correction id=""><SPAN class=correction id="">ZMYROLE</SPAN></SPAN>.
Recipients are all users with role <SPAN class=correction id=""><SPAN class=correction id="">ZMYROLE</SPAN></SPAN>, great.

If I create a container element Agent type <SPAN class=correction id=""><SPAN class=correction id="">WFSYST-AGENT</SPAN></SPAN> and assign
<SPAN class=correction id=""><SPAN class=correction id="">AGZMYROLE</SPAN></SPAN>, 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
<A href='javascript:parent.ComposeTo("SAP-WUG%40mit.edu", "");'>SAP-WUG@mit.edu</A>
<A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
</TT></PRE></div>
<!-- end of AOLMsgPart_0_44b05a31-101e-4e26-a286-fd95e82d864e -->
<div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
AOL now offers free email to everyone.  Find out more about what's free from AOL at <a href="http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redir=http://www.aol.com" target="_blank"><b>AOL.com</b></a>.<br />
</div>

</BODY></HTML>