added resumeFrom parameter

This commit is contained in:
Michele Artini 2021-02-11 10:54:16 +01:00
parent 7249cceb53
commit 8c1600398a
1 changed files with 11 additions and 1 deletions

View File

@ -136,7 +136,17 @@
</configuration> </configuration>
</global> </global>
<start to="ensure_output_dir"/> <start to="resume_from"/>
<decision name="resume_from">
<switch>
<case to="ensure_output_dir">${wf:conf('resumeFrom') eq 'ensure_output_dir'}</case>
<case to="index_event_subset">${wf:conf('resumeFrom') eq 'index_event_subset'}</case>
<case to="stats">${wf:conf('resumeFrom') eq 'stats'}</case>
<case to="index_notifications">${wf:conf('resumeFrom') eq 'index_notifications'}</case>
<default to="ensure_output_dir"/>
</switch>
</decision>
<kill name="Kill"> <kill name="Kill">
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message> <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>