Values populate on Data import in Operational resource
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2025 08:38 AM
i have created a UI Policy to populate field choices based on other field selection in assignment table. example work type is incident then work type category as PTO etc...
I am importing data into assignment table, then those conditions are not working. example work type field is filled with Incident but work type category showing as empty.
need some assistance to resolve this functionality.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2025 09:40 AM
Hi @VSN
Can you please explain share few sample screenshots?
Did you validate the assignment data after it's imported? Is the data loaded properly?
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2025 09:47 AM
Hi @VSN
Could you please share a screenshot of the dictionary entries for your fields and how the UI policy is being used to populate them?
If I'm not getting you wrong, you want to display "category" field values based on the selected "work type" field.
This functionality can typically be handled through the sys_choice table, where you define all dependent options for the "choices" field—such as categories based on the selected work type. This approach is straightforward and doesn’t require custom logic in most cases.
Let me know, if your requirement is something different.
If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful. Let me know if anything else is required.
Thanks,
Prerna

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2025 08:13 PM
You need to copy the same logic from your UI Policy into a Business Rule (after insert / before insert) or a Transform Map Script.
This script will run server-side during import and can set the Work Type Category field based on the Work Type value.
Example Business Rule (after insert or before insert):
(function executeRule(current, previous /*null when async*/) {
if (current.work_type == 'Incident') {
current.work_type_category = 'PTO';
}
// add more conditions if needed
})(current, previous);