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

Question

Question

Prevent business process from running twice on document

asked on August 23, 2019

Is there an easy way to prevent users from running a business process on a document while it's running through the workflow? 

I'm having trouble teaching some of my users that if a document doesn't move after starting a BP, don't click it again. It's silly but happens all the time around here. Thanks. 

0 0

Answer

SELECTED ANSWER
replied on August 23, 2019 Show version history

I've run into the same issue, and I've played with a lot of different ways to try and prevent this, but I haven't really found anything "foolproof" yet.

So far, the most effective solution has been the following:

  1. Check to see if the file is not in a specific folder
  2. As soon as the BP starts, move the entry to a folder the users can't access/modify
  3. Perform any workflow tasks
  4. Move the file back

 

For example,

Users can modify files in the "working" folder, but can't change files in the hidden "processing" folder, and the BP rules are set to only work on entries within the "working" folder path

User A starts BP on Document 1

WF Checks to see if Document 1 is in the "Processing Folder"

If it is, it does nothing

If it is not, it moves it to "Processing" and keeps track of the original location

The necessary changes and other activities are completed

The document is moved back to the original location

2 0
replied on August 23, 2019

Great idea, since the usually explanation from my users is "it didn't move so I clicked it again", if I have the document move right away, then problem solved. Thanks.

0 0

Replies

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

Sign in to reply to this post.