Field Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 10:36 PM
Hi Team,
Good Morning.
"I am facing an issue with mapping the field from source to target. We have a 'monitor' field on the CMDB form. I attempted to map the value, but instead of 'true' or 'false', I am receiving '0' or '1'. How can I resolve this issue?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 01:46 AM
Hi @NARASIMHA REDD5 ,
Try changing the value of choices in that field to 0 for false and 1 for true in that related list.
Thanks,
Allu Gopal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 01:57 AM
@NARASIMHA REDD5 , Write Source Script as below and Map that to the Target
var monite= source.Moniter.toString(); // Include correct Source field name
if (monite== "1") {
return true;
} else if (monite== "0")
return false;
Regards,
Shyamkumar '
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 02:07 AM
Hi @shyamkumar VK ,
Thanks for your response.
Still I am getting 0/1 Value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 02:11 AM
@NARASIMHA REDD5 , Can you please Share Screenshot of the field Maps and where your Including this Script?
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 02:18 AM