Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Group Delegation?

vstefano
Giga Contributor

I am wondering if anyone has attempted to mimic creating a delegate of a user for groups. In other words has anyone tackled delegating a user as a temporary member of a group?

Essentially we are an MSP and we have a group of users that will be "dispatched" to act as temporary on site IT resources for a few weeks when our employed primary site IT user is on PTO and I want a filter that shows anything unassigned to the groups that they are a member of. Right now the user delegation does not include this sort of function so I am wondering how I may go about it.

I'd probably want some catalog item where you can input user and group to script the creation of a group member record but may need an additional table so I can hold the time frame and relations.

Thanks!

5 REPLIES 5

Jochen Geist
ServiceNow Employee

A very lightweight solution would be something like this:


- Create a Catalog Item (& workflow) to offer this as a self service


- Create a custom table that stores references to the user, the group, the end time and a processed flag


- Create a scheduled job that runs regularly and checks your custom table for records that have expired and were not yet processed


That's what I was thinking, thank you for confirming that I'm on the right track! How frequently would you recommend that scheduled job run?


I would say that depends on our organizations requirements.


From my point of view once a day should be enough.


I have been able to do the majority of this and it appears to be working as expected.