get Task Definition

I can not find how to bring the Task Definition from api
I see that in the database saves them as xml.
anyone know how I can get them from the api?
Thank you

The following should help:

find(HumanTaskDefinition, long) - Method in interface org.bonitasoft.engine.bpm.process.ModelFinderVisitor
find(UserFilterDefinition, long) - Method in interface org.bonitasoft.engine.bpm.process.ModelFinderVisitor
find(UserTaskDefinition, long) - Method in interface org.bonitasoft.engine.bpm.process.ModelFinderVisitor
find(SendTaskDefinition, long) - Method in interface org.bonitasoft.engine.bpm.process.ModelFinderVisitor
find(ReceiveTaskDefinition, long) - Method in interface org.bonitasoft.engine.bpm.process.ModelFinderVisitor

HumanTaskDefinition - Interface in org.bonitasoft.engine.bpm.flownode
A Human task is a task having an actor and that can be assigned.
ManualTaskDefinition - Interface in org.bonitasoft.engine.bpm.flownode
A Manual Task is a Task that is not managed by any business process engine It represent a work that is done outside of the system.
ReceiveTaskDefinition - Interface in org.bonitasoft.engine.bpm.flownode

SendTaskDefinition - Interface in org.bonitasoft.engine.bpm.flownode

and finally:

TaskDefinition - Interface in org.bonitasoft.engine.bpm.flownode
A Task is an atomic Activity within a Process flow.

All from javadoc here,

regards
Seán

PS: If this reply answers your question, please mark as resolved.

thank you.

Please mark as resolved (the big arrow next to the answer) so that people know it’s been answered

regards