I have a CompositeHistoryManager with the DefaultHistoryManager and my own class to synchronize history with an external resource. My class extends AbstractHistoryManager but recordFormPropertiesSubmitted method is not called when, for example, I complete a task. I suspect this is happening because I only use TaskService and just inject variables inside process instance even when I’m using a form instance in my front-end application.
So I have a few questions:
- Should I have start using FormService for this purpose?
- What’s the difference between org.flowable.engine.FormService and org.flowable.form.api.FormService?
- What should I do when I want to complete a task in a form context (using submitTaskFormData(String taskId, Map<String, String> properties)) and my property values are not strings?
Thank you in advance,