- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 12:05 AM
I made 2 different custom fields in sc_task table.
field1 :
u_zassignmentid
Reference(sys_user_group)
field2 :
u_zassigneeid
Reference(sys_user)
I set field2 dependent that lookup field1 value like Assignment Group and Assigned to.
But it did not work.
Why it does not work? How can i do?
Thank you for answer.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 08:01 PM - edited 01-24-2024 02:23 AM
Hi @Jaeik Lee
I see. Thanks for capturing the details.
The above behavior does not work if the dependent reference field (field 1 above in your case) does NOT include "group" in its name.
So just include the "group" word in your field1, which is referencing to the sys_user_group table. Then replace the dependent value with the new field name. And it should do the trick.
Ref: KB0998861 - Dependent field does not work as expected on task "Assigned to" field.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 04:07 PM
Hi. there is screen shot of my works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 08:01 PM - edited 01-24-2024 02:23 AM
Hi @Jaeik Lee
I see. Thanks for capturing the details.
The above behavior does not work if the dependent reference field (field 1 above in your case) does NOT include "group" in its name.
So just include the "group" word in your field1, which is referencing to the sys_user_group table. Then replace the dependent value with the new field name. And it should do the trick.
Ref: KB0998861 - Dependent field does not work as expected on task "Assigned to" field.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 11:38 PM
Wow, would never have guessed that it works THIS way. What a weird design. Would have been too easy for ServiceNow to make the actual dependency setting an attribute of the field.