Hi,
Users who are part of one specific group trying to submit a form and which triggers an email to the people those who are part of the same group along with other group.
When I try to access the other group users in the expression rule like below, I am encountering an error.
local!visibilityUsers: a!groupMembers( group: cons!AA_GRP_VISIBILITY_USER, memberType: "USER" ),
ERROR Details:
Problem: An invalid expression has been encountered in a task.
Details: An error occurred while evaluating expression: xxxxx Expression evaluation error in rule 'AA_getEaddresses' at function a!groupMembers [line 99]: Expression evaluation error at function 'a!groupMembers': : Insufficient permission) (Data Outputs)
Recommended Action: Check the expression including any function requirements and resume.
Priority of this problem: High Priority
Discussion posts and replies are publicly visible
You need to check the visibility and privacy settings of this group.
I am trying to check in order to get the list of members for other group using a!groupMembers() function, we need to update the visibility or Privacy Policy.
Any advises please.
Probably needs to be public.
Restricted is only visible to members and admins (as described in the description)
I'm assuming that you're running this within a script node? In that case, a possible workaround could be running the node as the process designer instead of the process initiator.
Thank you all for your inputs. Appreciate.