Oracle Waveset 8.1.1 Deployment Reference

Best Practice

You can create a rule with a name such as Get Context that contains a simple <select> statement. You can then call that rule from any form or any workflow during an invocation of the desired FormUtil method, as shown in the following example:


<invoke name=’getObject’>
 <!-- typically, something like :display.session would go here. 
      But instead, call the handy rule -->
<rule name=’Get Context’/>
 <s>User</s
<s>SamUser</s>
</invoke>

That invocation could then be part of a greater utility rule that you can use in both forms and workflows.