Autowire TaskService into component used in spring web flow

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 07:48 AM
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
java.io.NotSerializableException: 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?
Labels:
- Labels:
-
Alfresco Process Services
0 REPLIES 0
