Skip to content

Conversation

@chaitanyalal18
Copy link
Contributor

An action to find the lowest common manager between two users. For simplicity, the manager field is used on the User table. If both inputs are the same user, it will return an error. If no common manager exists, the output will display "They don't have a manager in common."

Input:
User1, User2: References to user table.
Error Evaluation:
If both users are same then it will throw an error
Output:
Common Manager: String

@github-actions
Copy link

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!

@rohi-v rohi-v self-assigned this Oct 25, 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.

Hi @chaitanyalal18

We do have 'manager' field OOTB on User table, Can you please change the logic to use the ootb field instead of 'u_manager' field.

@chaitanyalal18
Copy link
Contributor Author

Thanks @rohi-v. I have made the changes

@rohi-v
Copy link
Contributor

rohi-v commented Oct 25, 2025

Looks Good

Thank You for contribution

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

2 participants