Unable to hide sections using setSectionDisplay()
Requirement was to hide sections based on role 'xyz' & 'assigned_to' is the current user. I wrote display business rule to validate above condition and saved in scratchpad as below: if ((gs.getUserID() == current.assigned_to) || (gs.hasRole('xyz')) )...