Pass non serialised variable to process


With java embedded camunda engine, is there a way to pass variable which can’t be serialised to process instance ?
Setting transient is not working.


@sos-axelor how does your payload look like?

@sos-axelor: Need to check camunda version.
You cann’t use the transient variable in 7.8. From v7.9 onwards you can declare transient variable which wont be seriliazed.

It’s a JPA entity which can’t be serialized

I am using camunda-engine 7.13.0-alpha3

Variable I create by using Variables.objectValue(customerOrder, true).create();
Here customerOrder is a JPA entity which can’t be serialised.