You are viewing limited content. For full access, please sign in.

Question

Question

Is it possible to use Workflow to locate all of the documents that have a specific sticky note text, then have it delete those sticky notes?

asked on February 6, 2014

We previously ran an SDK utility that added sticky notes to specific pages of various documents in a client's repository. We would like to now remove all of those without using an SDK application, and hopefully by utilizing Workflow. I know we can find all of the docs with this sticky note using a Search Repository activity, but the problem comes when I try to then select and delete those annotations. I know there is a Delete Annotation activity, but it only works on annotations that were added previously in the Workflow.

 

0 0

Replies

replied on February 7, 2014 Show version history

The only activity I can see that would do it would be the  Delete Annotation activity, but as you already noted, it's only for annotations that were added within the same workflow definition. Unless I'm missing something here, I would have to say unless the sticky notes were added in the same workflow, than no you are not able to do that without custom scripting.

2 0
replied on February 28, 2014

Here you go. No need to write a custom code. Just do an advance search through your Workflow.

 

E.g. In mine, I am getting the ID of the resulted document and checking if it has a sticky note.

 

{LF:ID=%(SearcheNotesLfRProdRepoUnstructuredFolder_FirstResult_ID)}&{LF:STICKY="*"}

 

If the result is >1 then that means that it does have a sticky/Annotation and if the result is 0 then that means it doesn't smiley

 

Hope this helps. If this does, don't forget to tag/set it as the Answer cheeky

1 0
replied on February 28, 2014 Show version history

I am facing the similar issue and I think custom scripting is the only way to go.

 

For this, in your script, pickup the entry ID for the document (under global variables), do a custom search as if that EntryID has annotations attached. This will provided you a quicker search.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.