Business Rule to update category
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 10:43 AM - edited 06-18-2024 10:44 AM
I have the below business rule that updates Category in the RITM based on a variable. The script below works fine when the user language is English. However, for users who have French set as lamguage, a new choice appears (in red) instead of selecting from the existing selection (in green). How can this be resolved?
(function executeRule(current, previous /*null when async*/ ) {
var category = current.variables.category.getDisplayValue();
if ((current.u_category == '')){
current.u_category = category;
}
})(current, previous);
//u_category is a string field with Choice in sys_choice
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 10:55 PM