core icon indicating copy to clipboard operation
core copied to clipboard

EscalationThread not working consistently

Open wezell opened this issue 11 years ago • 3 comments

This is on dotcms.com

We have this workflow:

screen shot 2015-05-08 at 11 17 48 am

We have these contents in this workflow step that are not getting "escalated"

screen shot 2015-05-08 at 11 19 40 am

Here are the results of the SQL that the EscalationThread calls to find out if it needs to run:


dotcms=> select workflow_task.id from workflow_task join workflow_step on (workflow_task.status=workflow_step.id)
dotcms.com_3x-> where workflow_step.resolved=false and workflow_step.escalation_enable=true and now()>workflow_task.mod_date+
dotcms.com_3x-> cast(cast(workflow_step.escalation_time as varchar(20))||' seconds' as interval) ;
 id
----
(0 rows)

dotcms=>

wezell avatar May 08 '15 15:05 wezell

PR: https://github.com/dotCMS/core/pull/7771

oarrietadotcms avatar May 22 '15 13:05 oarrietadotcms

Fix is working. Tested on: 3.2 Nightly build 2015-05-22 16:41/ Ubuntu 14.04 // Postgres // Firefox SQL is showing appropriate results when calling EscalationThread

escalationthread sql

It looks like contents in workflow step are getting escalated according to workflow

escalationthread_workflow task

shaydotcms avatar May 26 '15 21:05 shaydotcms

Added TC http://qa.dotcms.com/index.php?/cases/view/59165

shaydotcms avatar Jun 16 '15 15:06 shaydotcms