Skip to content

Conversation

@Rampriya-S
Copy link
Contributor

This Flow Action allows you to check if a given user belongs to a specified group or not.

@github-actions
Copy link

github-actions bot commented Oct 3, 2025

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@Paulsylo25 Paulsylo25 self-assigned this Oct 4, 2025
@Paulsylo25 Paulsylo25 requested a review from niamccash October 4, 2025 01:15
@Paulsylo25
Copy link
Contributor

Resolved the conflict.

Copy link
Contributor

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make this something more descriptive than gr, and use setLimit(1)

@Rampriya-S
Copy link
Contributor Author

@SapphicFire, thanks for the feedback I will update it.

@Rampriya-S Rampriya-S closed this Oct 5, 2025
@Rampriya-S Rampriya-S deleted the flow_action_to_check_user_in_group branch October 5, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants