# Delete a BDM entry in datatable?

**URL:** https://community.ofelia.com/t/delete-a-bdm-entry-in-datatable/11047
**Category:** Q&A
**Created:** [24 December 2021 10:08 UTC](https://community.ofelia.com/t/delete-a-bdm-entry-in-datatable/11047 "2021-12-24T10:08:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Frap](https://avatars.discourse-cdn.com/v4/letter/f/e68b1a/32.png) [@Frap](https://community.ofelia.com/u/Frap)
#### Post date: [24 December 2021 10:08 UTC](https://community.ofelia.com/t/delete-a-bdm-entry-in-datatable/11047/1 "2021-12-24T10:08:10Z")

</div>

Hi everybody&nbsp;

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?&nbsp;

![](https://ibb.co/sCT7XJy) ![test](https://ibb.co/sCT7XJy)

&nbsp;

---

<div class="post-metadata">

### Author: ![Laurent\_Leseigneur](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/laurent_leseigneur/32/725_2.png) [@Laurent\_Leseigneur](https://community.ofelia.com/u/Laurent_Leseigneur)
#### Post date: [14 January 2022 09:25 UTC](https://community.ofelia.com/t/delete-a-bdm-entry-in-datatable/11047/2 "2022-01-14T09:25:05Z")

</div>

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,

&nbsp;

L.
