sankhadeep choudhury

ERROR WHILE USING CONDITIONAL BLOCK

Discussion created by sankhadeep choudhury on Jul 31, 2013
Latest reply on Aug 13, 2013 by Tom Sheckells

I am getting the below error while using the conditional block

 Error in Conditional Block:  An error occurred while compiling the conditional expression 'policyObj.channel = "EA"': 'null'.

I have a class structure like below :

<Policy>
<channel></channel>
....
....
</Policy>

 

where if channel = "EA" ,then print something.I created a conditional block as below :

<Value Holder1> = "EA" (print("okk"))

where the value holder contains a code template having "policyObj.channel" .

Outcomes