I have a process that gets a Doc ID to be deleted from the database. Before attempting to delete the doc, I would like to check if it exists in Knowledge Center? How can I do so?
See below highlighted node where I need to add this "Check".
Docs to be deleted node returns a list of Documents.
Check needs to search for IDs as an array, if not found, remove from array.
Discussion posts and replies are publicly visible
To check the knowledge center ID for documents you can use the document function we have a property as knowledgeCenterId once you have the IDs you can use whereContains and index functions to get the filtered list.