How to ompare whether two strings are the same in the Architect

I want to retrieve the DNIS through Call.CalledAddress and then find the corresponding group in the DATATABLE. How do I compare two strings in Architect's Expression? It seems like '==' cannot be used to compare strings.

Hello,

The error mentions that one of the variable you are testing is a String Collection (list of strings).
As Call.CalledAddress is indeed a String, that means your Flow.DNIS variable is apparently a String Collection and not a String.

If this is intended, then you can use the following - i.e. find string in list/collection
If(FindFirst(Flow.DNIS, Call.CalledAddress) > - 1, true, false)

Regards,

Hello

Thank you for answering my questions!

Best regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.