cancel
Showing results for 
Search instead for 
Did you mean: 

Instance data removal/deletion best practice

cold_gin
Champ in-the-making
Champ in-the-making
Hello. I have a use case where I need the capability to delete task *instance* and/or workflow *instance* data (so execution data that is attached to a particular task or workflow instance, not the workflow design). Is there a recommended (best practice) way to do this (an api to follow or a recommended methodology)?

eg.) Removing data that a user has saved into a textfield of a particular human task instance

Thank you.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Depends on the data .. there is a deleteProcessInstance, removeVariable, etc methods you can use.
If there is no API method, a fallback is always doing it in the db with a native query.