Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Tables that hold current on-call info

Steve Fisher
Kilo Contributor

I have a need to get all of the people who are on-call at a given moment in time.  If I have 11 rotations for example and only one person is on-call at any moment in time I would want to get 11 records.

I would prefer to select the data from tables.  It looks like "SCHEDULE ENTRY" might have some of the information I need.  Or it might be "ROSTER SCHEDULE ENTRY" but neither of these tables even give me all of the information (I know I need to get additional data from GROUPS, USER, etc) but where/how would I get those 11 records.  Can someone help me out and point me the way?  Thanks.

7 REPLIES 7

Community Alums
Not applicable

Hi did you find solution for this.

 

Yes and no but I have a solution that works for me - I get the active shifts from the Shift table then for each shift, call:

https://xxx.service-now.com/api/now/on_call_rota/whoisoncall?rota_ids= <sys_id for shift>

Hi,

Please refer to the "v_rotation" table, which contains the list of all current on-call members.