- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2021 07:59 AM
When we gr.getValue(field _name) return null values for empty columns, How to resolved this issue?
Scenario: we connected two snow systems when creating change requests automatically another system also creates change requests, here sending empty values but their system showing in their columns null, How to resolve this issue.
I am sending below like this:
var str = {
"uuid": uuid, //Static Value : Same for all instance//"8",
"inputs": {
"implementation_plan": "" + current.getValue('implementation_plan') + "", // getting null value
"justification": "" + current.getValue('justification') + "", // getting null value
"risk_impact_analysis": "" + current.getValue('risk_impact_analysis') + "", // getting null value
"test_plan": "" + current.getValue('test_plan') + "" // getting null value
}
};
or gr.implementation_plan = current.getValue('implementation_plan')
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2021 08:04 AM
Hi there,
Have you tried something like:
var justification = current.getValue('justification') || '';
And then in your inputs, using justification.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2021 08:04 AM
Hi there,
Have you tried something like:
var justification = current.getValue('justification') || '';
And then in your inputs, using justification.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field