Hi all, I'm new to activiti and bmpn concepts, I was trying to integrate Activiti-rest with my spring boot application, the issue is with custom serialized variable objects (inheriting ByteaArrayType or Serializable both tried). the process variables are successfully persisting on mysql DB but when i make a rest call to list all of my process instance variables I'm getting the serialize object's value as "null", somebody please help me fix this
To do something similar, I had to create a custom variable serializer.
Fortunately, that is really simples, and you can get plenty of documentation in official docs.
Your class should implement VariableType.
Then you have to declare it in Activiti.cfg.xml, something like
<property name="customPreVariableTypes">
<list>
<bean class="br.com.simfreteV1.web.workflow.SimfreteTypeVariableSerializer" />
</list>
</property>
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.