- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 01:21 AM
Hi All,
asmt_assessment_instance.state : State field is choice field with different languages.
requirement is copy the Display value of asmt_assessment_instance.state to asmt_assessment_instance_question. u_assessment_state. The script probably needs to be run to update the values on the records in the asmt_assessment_instance_question table that have the State in non-English. State value should update with only english language choice value.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 03:30 AM
Hi Ankur,
Thanks for helping, the below script worked
when to run filter Conditions -- state changes
Advanced --condition - current.state != previous.state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 02:06 AM
please share your actual business requirement and some screenshots.
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
04-21-2025 02:08 AM
why are you creating custom field on OOTB table?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 04:22 AM
Hi Ankur,
Current Reqquirement : Currently we have one business rule which the custom BR "Set assessment state on Update" is set to copy the Display value of asmt_assessment_instance.state to asmt_assessment_instance_question. u_assessment_state.
New requirement is :
The assessment state values are displaying in different language choices but the requirement is to update the records with english state value only even though user preferred language is any language. Assessment state value should update only with english language value not with other language. screenshot below
The reason these are showing in different languages is because the custom BR "Set assessment state on Update" is set to copy the Display value of asmt_assessment_instance.state to asmt_assessment_instance_question. u_assessment_state.
The BR needs to be fixed and then a script probably needs to be run to update the values on the records in the asmt_assessment_instance_question table that have the State in non-English."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 06:11 AM
share your BR script and BR config screenshots
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