About pop-up display of groups to which a user belongs

snow68
Tera Contributor

I would like to know how to dynamically pop up the group to which the user operating the screen belongs in the reference field. First, I created a reference type "Approver Group" field like the attached image. After that, I tried to set the group to which the user belongs on the "Reference Specification" tab in the "Approver Group" field, but I don't know how to set it. I would like to know how to implement ServiceNow standard by selecting "Simple" or "Dynamic" for "Use reference qualifier".

1件の返信1

iwai
Giga Sage

The setting can be adjusted by setting the Reference Query to "sys_idINjavascript:gs.getUser().getMyGroups()" in Advanced mode. This will display the information filtered based on the groups you belong to. Please refer to the following screen for guidance.
(Japanese translation:  設定は、Advanced で Reference Queryに "sys_idINjavascript:gs.getUser().getMyGroups()"を設定することで、自分の所属するグループに絞り込んだ条件で表示されます。 以下の画面を参考にしてください。)

iwai_0-1705831732802.png