I set an execution variable with null value in my process, and then get this variable and set on my json property using camunda spin, but when I did this, camunda returns the following error:
Can’t unambiguously select between fixed arity signatures [(java.lang.String, java.util.Map), (java.lang.String, org.camunda.spin.json.SpinJsonNode), (java.lang.String, java.util.List), (java.lang.String, java.lang.Number), (java.lang.String, java.lang.Boolean), (java.lang.String, java.lang.String)] of the method org.camunda.spin.impl.json.jackson.JacksonJsonNode.prop for argument types [java.lang.String, null]
Execution Listener (start)
execution.setVariable(‘nullValue’, null);
Execution Listener (end)
var customJson = S(‘{}’);
customJson.prop(“someValue”, execution.getVariable(“nullValue”));