I’m running code that sync a database of information to a monday board.
I’m making use of both items (as parents) and subitem (as childern) boards.
My code runs on schedule each time it compare the database and the monday board for items that should be deleted, items that are out of date and items which are missing.
The database always dictating the information on the monday board.
When a parent item with subitems has been deleted the API still see the subitems.
Also if my code which might have a slight delay still have in memory an item id of a parent, it is still able to add the child to the parent, even thought the parent is now in trash.
In both cases the API doesn’t see the subitem as deleted. (the parent has been delete)
- Is there a way to tell the API not to create subitems on parent which have been created?
- If not, Is there a way to determine that a item has been deleted, I can then check the items I get back from the API can confirm their parents are still in the board.
Martin