- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 02:55 PM
I've got a weird issue.
A final step in a flow I am building is to check for records in sys_user where the "On Leave" flag is false, but some other fields are not empty. My first attempt was this. Works great for the Leave effective date and Leave not to exceed fields, but the On Leave Comments field does not get cleared.
I then tried some simple inline scripts to clear the comments of which nothing worked
return ;
return '';
Finally, I created a flow variable and did not assign a value. According to the documentation, that would keep it at the default value isnull. That didn't work!
Any ideas? This (I would think) shouldn't be too hard!
Solved! Go to Solution.
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2022 11:02 PM
I'm curious, have you tried to update the records one at a time in a for-each loop instead?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 07:44 PM
Did you try single quotes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2022 06:08 AM
Yes. No good!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2022 08:10 PM
Hi,
are those fields mandatory?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2022 06:08 AM
No, they aren't mandatory.