Set integer to null using Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 01:52 PM
Hello Community,
I'm attempting to use the Update Multiple Records action to blank/null an integer field on the User table. I've attempted multiple methods, however none of them seem to work. Can anyone suggest a method that works for integers?
I've attempted the following:
Use the scripted function to:
return '':
return"";
return 'NULL';
return "NULL";
I've also attempted to set a flow variable to blank and assign the value using that.
Thanks for your help!
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 02:02 PM - edited 11-09-2023 02:03 PM
Hi @Max McFa
Try return null;
Do not use apostrophe (') while returning null. It will convert it to String if you use ' or ''.
Thanks!
Mark it as helpful if it works 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 02:40 PM
Thanks for the suggestion, Shubham. However, that did not resolve the issue. Perhaps ServiceNow is treating null as no update? I'm able to set it to other values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 02:56 PM
It looks like you may need to do a Lookup records as suggested in below thread and then update each item.
Please mark this response as correct or helpful if it assisted you with your question.