Hi @monika ,
I just found the problem. As I understood, this program rules is triggered in the enrollment form. In that case, the environment variable V{event_date} is always null. The rule engine shared by android and backend is crashing becouse of it.
If this expression has to run on both enrollment and stages I would have two different rules:
A{Personal detail consent} == false && V{enrollment_date} > ‘2020-11-29’
For the enrollment and
A{Personal detail consent} == false && V{event_date} != ‘’ && V{event_date} > ‘2020-11-29’
For stages.
Nevertheless, the rule engine can be fixed to accept your expression, but in the meantime you should be fine with those expressions.