Integration not working since upgrade to V20

greychain

Gold Partner
Advanced Certified
Joined
Jul 13, 2018
Messages
779
Reaction score
122
I am getting the following error.

System.Exception: Unable to parse expression: [IIf([ReportCallEnabled]!=True || [Number]=="", True, IIf([CallType]!=Inbound, True, False))]
.
.
.
System.Exception: Unable to parse expression: IIf([CallType]!=Inbound, True, False)

How can I re-write this to work?
 
Remove the spaces.
 
Add square brackets around the inner IIF clause. So instead of:
IIf([CallType]!=Inbound, True, False)

Use:
[IIf([CallType]!=Inbound, True, False)]
 
Add square brackets around the inner IIF clause. So instead of:
IIf([CallType]!=Inbound, True, False)

Use:
[IIf([CallType]!=Inbound, True, False)]
This is something that you can see in the Zoho template for example. Inner expressions need the square brackets to tell the expression evaluator that this is not static text.
 
  • Like
Reactions: Evolute IT