Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Created related list for assignment rule for HR service

nikhitha24
Tera Guru

Hi All,

 

Can someone help me on the below issue please.

 

I have HR Service name (Permanent Staff) under this service in ,related list  I have created new tab assignment rules

HR service table is talent management 

nikhitha24_0-1737480093353.png

 

on the HR service form related list is visible, but i want to see the related assignment rules for the particular HR service. 

if any assignment rules are there for particular HR service it should visible under related assignment rules

 

Please help me on this.

Thank you..

11 REPLIES 11

@nikhitha24 

please share if that HR service has any assignment rule configured for it?

Your applies to is table is HR Service, should it not be the particular HR service?

then apply the table name in the addQuery

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  Thank you for reply

 

nikhitha24_0-1737523796092.png

It is not for particular HR service

if someone opens the HR service for for that form any assignment rules is written it should visible under the assignment rule tab

if there are no assignment rule it will not visible assignment rules

 

Please help me on this

@nikhitha24 

assignment rules are for tables and HR service has record producer which has table field in it

So using that you can show

current.addQuery('active', true);

current.addQuery('table', parent.producer.table_name);

This worked for me

AnkurBawiskar_0-1737524589956.png

 

AnkurBawiskar_1-1737524606696.png

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  Thank you for reply

HR Service is written for HR talent management COE

so on the HR service for it is showing all the assignment rules written for talent management table for different servcies same COE

but for me it should visible only for the current HR service

nikhitha24_0-1737524984599.png

nikhitha24_1-1737525085823.png

Please help me on this

Thank you..

@nikhitha24 

1 HR service has 1 Topic Detail, 1 Topic Detail has 1 Topic Category and 1 Topic Category has 1 COE. It's 1 to 1 mapping everywhere

I didn't get what's not working

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader