bpm - How to Retrieve Form filled data in JBPM 6 -
i creating application using jbpm 6.4 . every user task has task form , completed them through jbpm console . want know how jbpm storing data .is there way retrieve these data's future purpose.
yes, possible retrieve task data since jbpm 6.4. in previous versions, process instance variables persisted, version 6.4 introduced task variables auditing. task audit logs stored in taskvariableimpl
table.
those variables stored simple strings, every other audit log in jbpm. because of this, have implement custom tostring()
methods custom classes used task variables.
if want query of fields of complex classes, can implement own org.kie.internal.task.api.taskvariableindexer
. there great example @ official documentation.
although can access task variables in general way, complex queries , high usage suggest store required fields in own tables better handling.
Comments
Post a Comment