Show workflow UI action is returning blank pages for ITIL users
The same variable is used in the ACL script as in the parent variable.
ACL might contain a variable name that has the same name as a global variable.
Changing this ACL's script by renaming the gr variable to a different variable name will fix the issue. As the same variable is used in the ACL script as in the parent variable. The parent scope must have a variable named gr and reusing the name here causes conflicts.
Another solution may be to wrap the logic in an immediately invoked function to isolate its scope.