Check User in Group Flow Action#47
Closed
Rampriya-S wants to merge 3 commits intoServiceNowDevProgram:mainfrom
Rampriya-S:flow_action_to_check_user_in_group
Closed
Check User in Group Flow Action#47Rampriya-S wants to merge 3 commits intoServiceNowDevProgram:mainfrom Rampriya-S:flow_action_to_check_user_in_group
Rampriya-S wants to merge 3 commits intoServiceNowDevProgram:mainfrom
Rampriya-S:flow_action_to_check_user_in_group
Conversation
…roup and returns a true/false result.
|
✅ Valid PR for ActionPack Thank you for your contribution. This PR complies with the CONTRIBUTING.md. |
Contributor
|
Resolved the conflict. |
SapphicFire
requested changes
Oct 4, 2025
Contributor
SapphicFire
left a comment
There was a problem hiding this comment.
Please update your script step so we can proceed to approve
Comment on lines
+178
to
+181
| var gr = new GlideRecord("sys_user_grmember"); | ||
| gr.addQuery("user", inputs.user); | ||
| gr.addQuery("group", inputs.group); | ||
| gr.query(); |
Contributor
There was a problem hiding this comment.
Please make this something more descriptive than gr, and use setLimit(1)
Contributor
Author
|
@SapphicFire, thanks for the feedback I will update it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Flow Action allows you to check if a given user belongs to a specified group or not.