Help

Re: 'contains' vs 'has any of' in automation condition

Solved
Jump to Solution
1037 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Sigurdur_Herman
6 - Interface Innovator
6 - Interface Innovator

TL;DR: what's the difference between 'contains' and 'has any of'?

I'm setting up some automations with a 'when a record matches conditions' trigger.

When I set my 'find records' trigger to the condition 'has any of' the dynamic value I want to use, I get 'invalid value: when a record matches conditions cannot be converted to an array of string'.

When I set the condition to 'contains', it works perfectly.

Screenshot 2023-04-01 at 08.26.29.png

Screenshot 2023-04-01 at 08.26.31.png

Screenshot 2023-04-01 at 08.30.41.png

What is the difference between 'has any of' and 'contains'? In natural language the two are synonymous (to my sense of the language, anyway), but I assume there's some important distinction in the underlying code that I don't understand.

1 Solution

Accepted Solutions
Abdullah_Yuksel
6 - Interface Innovator
6 - Interface Innovator

Hi,

"Has any of" requires linked records or lookup values in Airtable. On the other hand, "contains" is a string operator which works in various conditions. 

See Solution in Thread

2 Replies 2
Abdullah_Yuksel
6 - Interface Innovator
6 - Interface Innovator

Hi,

"Has any of" requires linked records or lookup values in Airtable. On the other hand, "contains" is a string operator which works in various conditions. 

Sigurdur_Herman
6 - Interface Innovator
6 - Interface Innovator

I knew it had to be something like that. Thanks, Abdullah 😃