How is Assignment Group and Assigned to Related ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
If your answer is Reference Qualifier and Dependent choice. We all know it 😞
System Configuration:
Assigned_to is a simple reference qualifier (note i am not referring advanced reference qualifier or no coding involved).
Dependent field is set to assignment_group.
Observation:
Observed that when assignment group is selected, then clicking the assigned to magnifier, in the URL you can see that sysparm_dependent="sys_id of the group selected in the assignment group"
This is good information, but not answers the question.
Understanding:
Using Developer tool I am half way there. In network section, i found a response of json format which had the matching user records when selecting an assignment group. But could not find any valid payload information with table name or query or subquery.
AI: I have tried with claude for an hour, it finally accepted its defeat and asked to raise HI support ticket.
Confidence on Community: Anyone in the community, have you tried to understand this ? Anyone raised HI support. Or anyone who is good at Dev tools of the browser to inspect and see if you can find out how the magic happen.
Parallel Example: Same way Caller field is dependent on company field with company sys_id. But one small advantage, here Company is a reference field in the Caller table so it is direct still where is it mentioned to query exactly on the company field ?
Question: Where is it code/script written to query the exact table(grmember), field ? Is there any configuration an admin we can update it ?
Thanks,
Vinod Kumar M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
44m ago
To simplify and restate your question: What is the internal coding/logic that executes when a dependent field is selected?
This is one of the many areas that even admins don't have access to. We shouldn't have it, and don't need it. If making a field dependent upon another field doesn't accomplish whatever it is that you're trying to do, then you would instead use an advanced reference qualifier which calls a script include to query/filter the results you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
40m ago - last edited 38m ago
I feel there is inconsistency here.
Assignment Group and Assigned to : Here table and field both are needed to query and get the response.
Caller and Company: Only field is enough, to query and get the response.
Do you think ServiceNow defining different techniques for each of the reference qualifier ??
In older release admin used to hardcode in the Dependent field, then the type of reference qualifier is advanced but now it is OOTB using simple reference qualifier. I know you can use advanced script include, where the admin have control.
But this is neither we have control, nor know what is happening and why there is inconsistency.
