Skip to main content

Deleted item is available in item query

  • May 13, 2022
  • 4 replies
  • 1320 views

Deleting item using delete_item mutation and the item is not there in application UI but can able to retrieve using item query

{
items(ids: xxxxxx) {
name
id
board {
id
name
workspace {
id
name
}
}
}
}

We cannot see any filter argument to filter items only for active items. Is there any way to retrieve items with only with active items without querying on boards. The item retrieve part of board retrieve is not displaying the deleted items. But looking item retrieve with some filter for active items only.

Regards
Prashanth

4 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 15, 2022

Hello @prasmadd!

You can use exclude_nonactive: true in the parameters for items().

Is this what you were looking for?

Cheers,
Matias


  • Author
  • Participating Frequently
  • May 16, 2022

Hi @Matias.Monday

We can see the results is having deleted items as well when using exclude_nonactive: true. Please find the screenshot of playground.

Regards,
Prashanth


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 17, 2022

Hello @prasmadd!

I will share this with our R&D team so that they can take a look and let you know here when I get a reply from them about it 🙂

Cheers,
Matias


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • June 7, 2022

Hello @prasmadd!

A fix has been deployed for this 🙂