- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 10:52 AM
We have a custom data table with some non-mandatory List type fields, where users can select one, many, or no options. We then have a Flow Design that runs against this table, where we have an IF action, where it is checking to see if one of three possible selections is made.
So the details of that Action looks like this:
The issue is that if NO selections are made in this list field (so it is Null), the Flow throws an error, and the rest of my Flow doesn't run.
How do I update my If action, so that it will not error out if no selections are made in this List field it is checking?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 12:03 PM
You should be able to do is not and then the value is just empty. You wouldn't put a pill/value there.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 11:00 AM
Can you first check if it has a valid selection? Can you share a screenshot of an errored out context?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 11:16 AM
That is precisely what I am asking! How exactly do I check to see if it has a value first? I assume that I need to nest my current IF action inside of another IF action that checks to see if a selection has been made in that field, but I am not sure exactly how to do that in Flow Designer.
If I place that field in a Condition, my 4 options are:
- is
- is not
- contains
- does not contain
There aren't any "is empty", "is not empty", or "is anything" options, like in other places in ServiceNow.
So how exactly do I check to see if this field has a selection or not?
By the way, here is the exact error message from the error logs:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 12:03 PM
You should be able to do is not and then the value is just empty. You wouldn't put a pill/value there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 01:06 PM
Thank you! It works perfectly!
I guess I was overthinking it...