could you post how does your rule exactly look like?
Thanks for the reply Maria. Here is my formula for the rule:
not(contains(lookup("Invoice Approval Tasks","Title",TaskTitle,"Assigned To"),userProfileLookup(Current User,'PreferredName')))&¬(fn-isMemberOfGroup(ProcurementTeam))
If the above rule return true the attachment panel should be hidden. Rule is working on New/Edit mode as expected but it's not working in display mode.
For troubleshooting purpose i have added a "calculate value" field to the form and included "Current User" from Common. But i can't see current user name in display mode. hope this helps you
Please let me know if you have any questions.
For troubleshooting purpose i have added a "calculate value" field to the form and included "Current User" from Common. But i can't see current user name in display mode.
have you enabled 'Recalculate formula in view mode' option for the control?
I'd recommend to add similarly calculated value controls for other formula subexpressions to identify which one doesn't evaluate as expected.
what is TaskTitle within lookup() call? does it evaluate properly in view mode?
can you as well check developer console whether there are not any errors reported?