I have a User Task (on Camunda 8) which has the assignee set via an expression based on a process variable, i.e. “= assignee”.
This works perfectly except if the variable “assignee” has the value null. I was expecting no assignee to be set in this case. However, I get Expected result of the expression 'assignee' to be 'STRING', but was 'NULL'.
thanks. However, I’m not sure how this is going to help.
Of course I can check for null and return a hard-coded value (if assignee then assignee else "my-default"), but if I want “null” as fallback (to not have the task assigned) it will still fail: if assignee then assignee else null.