Precedence error found in SQL workflow processor
This commit is contained in:
parent
4feb03df69
commit
fff20c41c6
|
@ -87,7 +87,7 @@ public class WorkflowProcessor extends AdempiereServer
|
||||||
+ " INNER JOIN AD_WF_Node wfn ON (wf.AD_Workflow_ID=wfn.AD_Workflow_ID) "
|
+ " INNER JOIN AD_WF_Node wfn ON (wf.AD_Workflow_ID=wfn.AD_Workflow_ID) "
|
||||||
+ "WHERE a.AD_WF_Node_ID=wfn.AD_WF_Node_ID"
|
+ "WHERE a.AD_WF_Node_ID=wfn.AD_WF_Node_ID"
|
||||||
+ " AND wfn.Action='Z'" // sleeping
|
+ " AND wfn.Action='Z'" // sleeping
|
||||||
+ " AND wf.AD_WorkflowProcessor_ID IS NULL OR wf.AD_WorkflowProcessor_ID=?)";
|
+ " AND (wf.AD_WorkflowProcessor_ID IS NULL OR wf.AD_WorkflowProcessor_ID=?))";
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int countEMails = 0;
|
int countEMails = 0;
|
||||||
|
|
Loading…
Reference in New Issue