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.

Make template available for multiple groups

wiltonr
Giga Contributor

How can I share a template (for incident) with more than one group and not global? the current "group" field only lets us select one group. Anyone know an alternative? Or possibly a way to make the "group" field able to select multiple groups (like a Watch List looking field)?

I changed the group field type in our Dev instance from Reference to List and changed the size of the field and broke our template form.   Now I have to wait for support to fix our field type/length.   Once they fix it though, I still have the request to find a way to allow more than one group to apply a template.   In Demo, I created a List field on the sys_template table called u_groups and can add multiple groups to the field but I can't figure out how to allow the groups in that field to Apply Template - the option does not appear in the Context Menu.   How can I do this?

21 REPLIES 21

Hi,



I have tried to achieve your requirement and setup successfully in of the demo instance. For achieving the same, I have done below things:



1) Created Group List field on Sys_template table


2) updated read ACL


3) Updated BR "SNC Template Query"


4) Updated UI Macro "template_context"



I am attaching update set of the same.



Let me know if you have any queries.



Regards,


Solutioner


Hi Solutioner,



I applied the update set to a demo instance and it still does not do what I want.   I created a template on the incident table and made it available to the Service Desk group (added in the u_group_list field).   Impersonating ITIL user who is a member of Service Desk, when I create a new incident, i still do not have Apply Template as an option under the Templates context menu.   I see Templates and can go look at the template that I created, but I do not have an option to use the template.


Hi,



I'll check and will get back to you.



Regards.


Was wondering if there was a solution to this?


Apply Template --- Option is not working after sharing the template.



Can you please update what is missing here. It is not working under Fuji version of Service-now