.actionButton25$visibility: Operator < not supported in expression

0
Inside the visibility I have condition : [%CurrentDateTime%] >  $currentObject/CurrentTimerExpiration   it is throwing me an error :    An error occurred while evaluating value of StarterKit.ShowInspectionOrderOperations.actionButton25$visibility: Operator < not supported in expression    So How the lessthan and greaterthan supported in mendix ?
asked
3 answers
5

Hi,

 

Can you check if CurrentTimeExpiration is not empty ? sometimes this error is thrown if the values are empty

 

Thx

answered
3

Hi Vaishali,

 

which is working Perfectly without error so, could you pls make sure the CurrentTimerExpiration attribute as a Date and Time type.

 

Thanks,

answered
1

Hi Vaishali,

It could be a null pointer error,

try doing this,

$currentObject/CurrentTimerExpiration!=empty and [%CurrentDateTime%] >  $currentObject/CurrentTimerExpiration 

 

Hope this helps!

answered