Hello, I have a workflow in which I receive a document. I need to delete the annotations that document has, but from what I see, workflow does not have an activity to do this.
Any idea how to do this?
Hello, I have a workflow in which I receive a document. I need to delete the annotations that document has, but from what I see, workflow does not have an activity to do this.
Any idea how to do this?
Hi Harol,
Correct, workflow does not have an activity to delete annotations that were not created during that running workflow. However, you can call a script from a workflow to delete annotations that were not created during a workflow. Click here to review a script from Michael Allen and click here to read a discussion of that script lead by Brianna Blanchard.
Hope this helps!
In the following link https://answers.laserfiche.com/questions/68255/remove-all-redactions-from-a-document#68368, Michael Allen wrote a code that helped me.
I just changed the "AnnotationType.Redaction" part to "AnnotationType.TextBox" and that's it.
The code deletes all the annotations that have the document.