<div dir="ltr">I might be on a little bit of a fishing expedition with this one so if I am way off base please point me in the right direction.<div><br></div><div>I am trying to set up a "meta-role" that will dynamically assign an approval authority process based on an attribute within the role assigned to the meta-role.  So I created a custom attribute for roles called "owner" and I want to assign a role name that will act as the approval authority.  I started with the example shown below below:<div><br></div><div><inducement><br>        <policyRule><br>            <policyConstraints><br>                <assignment/><br>            </policyConstraints><br>            <policyActions><br>                <approval><br>                    <compositionStrategy><br>                        <order>20</order><br>                    </compositionStrategy><br>                    <approvalSchema><br>                        <stage><br>                            <name>Security</name><br>                            <approverRef relation="org:default" type="c:RoleType"><br>                                <filter><br>                                    <q:equal><br>                                        <q:path>name</q:path><br>                                        <q:value>csc</q:value><br>                                    </q:equal><br>                                </filter><br>                                <resolutionTime>run</resolutionTime><br>                            </approverRef><br>                            <evaluationStrategy>firstDecides</evaluationStrategy><br>                            <outcomeIfNoApprovers>reject</outcomeIfNoApprovers><br>                            <groupExpansion>onWorkItemCreation</groupExpansion><br>                        </stage><br>                    </approvalSchema><br>                </approval><br>            </policyActions><br>        </policyRule><br>    </inducement></div><div><br></div><div><br></div><div>So I plug this into my "meta-role" and any role assigned to it now requires approval from the group/role named "csc".  The problem is this is still static, so I am hoping to somehow take the example above and turn it into something like this below:</div><div><br></div><div>                               <filter><br>                                    <q:equal><br>                                        <q:path>name</q:path><br>                                        <q:value>$owner</q:value><br>                                    </q:equal><br>                                </filter></div><div><br></div><div>The above doesn't work and I am not sure this is even possible.<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Keith LeValley<br><div><font face="arial, helvetica, sans-serif">Identity Services Architect</font>, Davenport University</div><div>phone:  (616) 732-1102</div><div><a href="mailto:klevalley2@davenport.edu" target="_blank">klevalley2@davenport.edu<br></a></div></div></div></div></div></div></div></div></div></div></div></div>