Skip to content

Conversation

shivamvish160
Copy link
Contributor

🧭 GlideList Comparator – Flow Designer Action

πŸ“Œ Overview

The GlideList Comparator is a custom Flow Designer action for ServiceNow that compares two GlideList fields on a single record and returns:

  • Items only in List A
  • Items only in List B
  • Items common to both lists

This action is useful for scenarios such as skill gap analysis, access control validation, and group-role alignment.


πŸ”§ Inputs

Input NameTypeDescriptionrecord_sys_idStringSys ID of the record to comparetable_nameStringName of the table containing the record| list_a_field | String | First GlideList field name (e.g., roles) |
| list_b_field | String | Second GlideList field name (e.g., groups) |


πŸ“€ Outputs

Output NameTypeDescriptiononly_in_aStringItems only in List Aonly_in_bStringItems only in List B| common_items | String | Items present in both lists |
| error | String | Error message if record not found |

Copy link

github-actions bot commented Oct 5, 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!

@am-shakeel am-shakeel self-assigned this Oct 5, 2025
@rohi-v rohi-v assigned rohi-v and unassigned am-shakeel Oct 5, 2025
Copy link
Contributor

@rohi-v rohi-v left a comment

Choose a reason for hiding this comment

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

Action Looks Good, Please add outputs for failure status in your 'Error Evaluation' step if step1 fails.

@shivamvish160
Copy link
Contributor Author

Thanks for the feedback
@rohi-v Added the required checks
Please validate

@rohi-v
Copy link
Contributor

rohi-v commented Oct 5, 2025

Looks Good, Thank You for contribution.

@rohi-v rohi-v merged commit c1856c9 into ServiceNowDevProgram:main Oct 5, 2025
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