Apply policy to user form
I have a policy dealing with Authentication Answers that I want to somehow insert into the validation section of a custom change user answers userform. How do I do this?
I have a policy dealing with Authentication Answers that I want to somehow insert into the validation section of a custom change user answers userform. How do I do this?
Try doing this,
First try to get the userview in the form,
<Field name='tempuserview'>
<Derivation>
<invoke name='getView'>
<ref>:display.session</ref>
<concat>
<s>User:</s>
<invoke name='getUser'>
<ref>:display.session</ref>
</invoke>
</concat>
<map>
<s>authorized</s>
<s>true</s>
</map>
</invoke>
</Derivation>
</Field>
Then in the validation field, try this
<cond>
<eq>
<ref>tempuserview.waveset.assignedLhPolicy</ref>
<s>Your assinged Policy</s>
</eq>
..............Here comes your validation code............
<cond>
Hope this helps,
Thanks.
that didn't work....is there a way to incorporate a policy into a rule? I can then call the rule from the form