AnsweredAssumed Answered

Autowire TaskService into component used in spring web flow

Question asked by czz27 on Jul 16, 2019

I need to autowire TaskService into component that I use in spring web flow, in that component every field need to implement Serializable (Spring Web Flow requirement), i got these exception:

org.springframework.webflow.execution.repository.snapshot.SnapshotCreationException: Could not serialize flow execution; make sure all objects stored in flow or flash scope are serializable org.activiti.engine.impl.TaskServiceImpl


How can I use TaskService when it need to be serializable in that case? I use method getVariable(), maybe is alternative way to use this functionality?