
Announcements
Hi,
i encountered that contains function always return true even the number/text is not exits in the array.
pleasee helpp. I have been trying for hourssssss
i have tried
contains(string(outputs('Compose_7')),string(outputs('Version_Label_2')))
contains(outputs('Compose_7'),outputs('Version_Label_2'))
contains(string(outputs('Compose_7')),outputs('Version_Label_2'))
contains(outputs('Compose_7'),string(outputs('Version_Label_2')))
Hi @pityman,
I would expect option 2 would work. I have set that up in dev environment and I was unable to reproduce your behaviour.
Can you double check what is different in your setup compared to mine below?
contains(outputs('Compose_7'), outputs('Version_Label_2'))
Result of my test.