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

Question

Question

Custom Query - Insert Statement - Inserting data multiple times

asked on July 15, 2016

New to Laserfiche and workflow.  My apologies if this has been asked before; however, I have not seen it.  

I have built a workflow that triggers the following custom query.  When the query is triggered it entered the inserted data twice for each record inserted.  

The workflow is set to be triggered when the document is moved into the Temp folder. 

I have been attemting to determine the solution to this for two days without any luck.

Thanks in advance for your assistance.

Custom Query.JPG
Workflow Rule.JPG
WorkFlow.png
Custom Query.JPG (61.07 KB)
WorkFlow.png (24.43 KB)
0 0

Answer

SELECTED ANSWER
replied on July 15, 2016 Show version history

Sounds like your workflow is just running twice. As a tip, workflow can trigger itself on events, so it is recommended to add a clause in your starting conditions to ignore the event if it was caused by whichever Laserfiche user Workflow is doing work under. See below for an example.  In your example, my guess is that invoke workflow is causing Workflow to run a second time.

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.