Regression was causing resubmitted workunits not to reschedule events. Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
@@ -214,11 +214,9 @@ void submitWsWorkunit(IEspContext& context, IConstWorkUnit* cw, const char* clus
}
if (resetWorkflow)
- {
wu->resetWorkflow();
- if (!compile)
- wu->schedule();
- }
+ if (!compile)
+ wu->schedule();
if (resetVariables)
{