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

Question

Question

create entry rule and entry locks

asked on August 31, 2016

I've just come across an issue with a workflow that is triggered from an entry created rule.

The first activity in the work flow is a SDK script that operates on the starting entry, it does some processing and then attempts to save the entry. At this point workflow generates an entry lock violation exception [9014].

This happens regardless of whether I'm uploading the document by dragging it onto the client or have Import Agent do the import.

Essentially the rule triggers the workflow before the lock is release from the import.

I've been able to get around it by locking the entry during the SDK script, but I think it might be preferable to delay the triggering of a workflow until the lock was actually released.

 

0 0

Replies

replied on August 31, 2016

Add a delay activity before the SDK script to make sure that LF has fully imported the document.  Even a 1 minute delay should do.  The workflow will trigger right away, but the delay will keep the script from running immediately.

1 0
replied on September 14, 2016

The Client keeps the lock on the document until the document is finished importing. So that's not why your workflow fails. Are you sure your document import is not triggering multiple workflow rules? Or that your changes in the script are not triggering other workflows as well?

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

Sign in to reply to this post.