Assign to value is 16 while creating task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 04:42 AM
Hi Expert,
We are facing one issue with assigned to value.
While creating custom task from request through workflow, though assign to is empty but 'i' icon is coming with backend value 16, which is nothing, Please refer attached screenshot.
What could be cause and how can we fix it.
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 04:46 AM
Hi @sayan3,
Please check the workflow if particular task creation has been filled. Also see if any Assignment rules are present for catalog task that fit your particular task.
Regards,
Ehab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 04:49 AM
@sayan3 Seems like reference value (like Assigned to) was populated with a Sys ID that does not match any valid record in the referenced table (sys_user in this case), or the record was deleted. Maybe you try to update the records with invalid values by running a fix script or background script:
var gr = new GlideRecord('your_custom_task_table');
gr.addQuery('assigned_to', '16'); // or use "ISNOTEMPTY" to catch all invalids
gr.query();
while (gr.next()) {
gr.assigned_to = ''; // clear the invalid reference
gr.update();
}
Please mark correct/helpful if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 05:05 AM
are you setting assigned to from somewhere? workflow? before business rule etc
some script is setting the sysId but it's invalid and hence it shows this way
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2025 08:34 AM
Thank you for responding, assignment rule is there where we set assignment group only not assign to