Error in Biztalk Expression Editor

199 views Asked by At

I am facing this error in Biztalk Expression Editor. The command is trying to use is: RequestMessage(EAISchemas.PropertySchema.TotalPrice)>10000. Error encountered: Operator '>' cannot be applied to operand of type System.string and System.int32.

1

There are 1 answers

0
Jay On

The distinguished property you reference that's part of RequestMessage is an Xpath expression. That's going to return the content of that node which is a string. So wrap it in conversion like System.Convert.toInt32().