Delete a BDM entry in datatable?

Hi everybody 

I created a simple workflow handled in an application page that contains a table, a button to start a new process (that creates a new entry in the datatable) and now I would like to complete my CRUD operations on the table with a delete. I've already read that it's suggested to not delete the entry, but to set a "deleted" boolean flag, so I did in that way. Now for each entry, I put a button (the red one bottom in the screenshot) that should delete the entry. I tried to use a custom query and calling it with the button, but I discovered that UPDATE queries are not allowed. So, how can I accomplish this simple task? 

test

 

Hi Frap,

I'm not sure to clearly understand your question since attached image is not displayed, but to perform and update to your BDM entry, just use an operation that will set, using a java method to set your boolean attribute using the boolean field in your contract

Kind regards,

 

L.