Hi guys,
I am trying for a use case in which I am starting another process from one process. And variables is map which I am setting in input parameter , but I am getting serializer error.Here is the bpmn for that
Could you please help me with that , how to start process by passing variables
test_serialize.bpmn (5.8 KB)
And below is error stack trace:
[ERROR] [2019/04/30 04:01:25.025] [scala-execution-context-global-164] [o.c.b.e.context] - ENGINE-16004 Exception while closing command context: Cannot serialize object in variable ‘variables’: org.camunda.spin.impl.json.jackson.JacksonJsonNode
org.camunda.bpm.engine.ProcessEngineException: Cannot serialize object in variable ‘variables’: org.camunda.spin.impl.json.jackson.JacksonJsonNode
at org.camunda.bpm.engine.impl.variable.serializer.AbstractSerializableValueSerializer.writeValue(AbstractSerializableValueSerializer.java:53)
at org.camunda.bpm.engine.impl.variable.serializer.AbstractSerializableValueSerializer.writeValue(AbstractSerializableValueSerializer.java:27)
at org.camunda.bpm.engine.impl.persistence.entity.util.TypedValueField.writeValue(TypedValueField.java:160)
at org.camunda.bpm.engine.impl.persistence.entity.util.TypedValueField.setValue(TypedValueField.java:120)
at org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.(VariableInstanceEntity.java:122)
at org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.create(VariableInstanceEntity.java:141)
at org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntityFactory.build(VariableInstanceEntityFactory.java:27)
at org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntityFactory.build(VariableInstanceEntityFactory.java:21)
at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.setVariableLocal(AbstractVariableScope.java:357)
at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.setVariableLocal(AbstractVariableScope.java:431)
at org.camunda.bpm.engine.impl.core.variable.mapping.InputParameter.execute(InputParameter.java:47)
at org.camunda.bpm.engine.impl.core.variable.mapping.IoParameter.execute(IoParameter.java:47)