Would it be possible to add a field to actions called "null" to actions?

Would it be possible to add a field to actions called “null” or empty something like that so you don’t have to do length(array) because sometimes it seems if the previous step comes out empty then you end up with an output of length() instead of 0, 1, 2 , etc.

something to replace that or this type of check i do regularly:
if [string] == “”

Just like how you added count to the LDAP query action for that plugin.

thoughts?

@hayden_redd Would count work for this purpose too? where count is the number of results. In the builder, you could do an arithmetic expression to check whether you have greater, less, or equal to count and make a decision from that. The way I’m thinking about it, it would provide more data (count states) to make decisions from than checking whether a string is empty or not (two states).

1 Like

that could work, just spitballing here. I use something like {{#if string-var == “”}} now.