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

Question

Question

SQL Head block in workflow database

asked on December 8, 2015

Hi,

 

This query below is frequently causing a head block in our Workflow database:

(@bps_report_id nvarchar(36))select count(*), SUM (Convert(bigint, datediff(ss, bps_start_date, bps_end_date))) as total from bp_step where bps_report_id = @bps_report_id and bps_end_date is not null

 it always blocking this query:

@bpp_end_time datetime,@bps_id bigint) update bp_participant set bpp_end_time =@bpp_end_time where bps_id =@bps_id and bpp_end_time is null

When this happens, workflow stops and we have to kill the head block in order for workflow to start processing again.

 

Please provide us with more information about these queries. It would help us try and pinpoint which workflow is causing the problem.  Information such as:

  • What are these queries doing?
  • Is it caused by an object in Workflow or is it a SQL store procedure?
  • If a block happens, is there a SQL query we can run against the workflow DB to find out which WF is currently having the issue?
  • Since we had to terminate the SQL lock, would an error entry be logged anywhere?

 

Thanks

 

 

 

 

 

 

 

 

 

 

0 0

Replies

replied on December 9, 2015

It looks like your VAR reported this a while back but we never heard back. Please have your VAR contact Support so we can assist you. 

0 0
replied on January 25, 2016

From your initial statement "When this happens, workflow stops and we have to kill the head block in order for workflow to start processing again." what do you mean by workflow stops? no other workflows can be trigger? To confirm when the issue takes place , publish a new workflow (a test workflow that include a simple activity such a route a document to a folder) then publish the workflow and trigger the workflow to confirm if nothing is working in workflow. 

Is the sql server that host the workflow database dedicated to workflow only? do you have any other databases such Laserfiche Audit Trail or Laserfiche Repository Database? 

 

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

Sign in to reply to this post.