Demo.rules error message : Couldn't resolve reference to JvmIdentifiableElement 'now'

In v 1.8.3 I get the following error message while using the demo.rules

On the line

postUpdate(Weather_Temp_Max, Weather_Temperature.maximumSince(now.toDateMidnight).state)

I get the error message

  • Couldn’t resolve reference to JvmIdentifiableElement ‘now’.
  • Couldn’t resolve reference to JvmIdentifiableElement ‘toDateMidnight’.

However the date is correct : when logging

now.toDateMidnight

I get the result

2016-06-08T00:00:00.000+02:00

Does anyone nows where this comes from?

Are you referring to errors in Designer when you say you “get the error message” or are you seeing this in the log?

If Designer, what version of Designer are you using?

This is an error indicated in the designer.
It appears when changing the file.

To be sure, I reinstalled the latest version 1.8.3.
I verified, and the error is appearing.

Well something is up with Designer but it works while running so the problem lies in Designer. I’m not sure what could be causing this as access to now is fundamental and has been there forever.