Utopia | 2024-02-15 06:31:18 UTC | #1
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.
Jerome.Saint-Marc | 2024-02-15 10:51:52 UTC | #2
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,
Utopia | 2024-02-16 04:19:59 UTC | #3
Hello
Thank you for answering my questions!
Best regards,
system | 2024-03-18 04:20:13 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 24659