How can I use "tools" in Function rule
I simply want to reference to Data Page within Function rule. In my understanding, in Edit Validate I used to use tools.findPage as below and it worked.
String WorkGroup = ((tools.findPage("D_AppExtend").getProperty("ClassName")).getStringValue());
However when I try the same in Function rule, I can't save - system is complaining "tools cannot be resolved". How can I use tools in Function rule? Do I need to do some declaration at the beginning of the steps?