is there any doc or jira to show why we need 'timezone' in coordinator.xml
Hi,
I want to run a java action once every day.I have created a coordinator
which executes the workflow containing the action 4 times every day.
Normal scenario would be that the workflow runs successfully in first
run.In the next runs it will run only if the previous run on the same day
failed.
I
Hi,
This is how we do it:
Let the successful workflow create an empty file with a deterministic path
based on today's date. Like /some_root/${YEAR}${MONTH}${DAY}/_SUCCESS
Then you use a decision node in your workflow that looks for the file using
fs:exists. If it's there, then don't execute furt
Great.That's a clean way to achieve what i want.
One more thing. Are you creating this file though java action or shell
action or fs action ?
On Sun, Apr 9, 2017 at 1:19 AM, Per Ullberg wrote:
> Hi,
>
> This is how we do it:
>
> Let the successful workflow create an empty file with a determinist
I think we use all three approaches in different workflows. :)
Pick whatever works for you. If you care about testability, then java is
the most testable, and fs action the least.
If you care about readability and LOC, the fs action is the best one...
Regards
/pelle
On Sun 9 Apr 2017 at 00:31 K