Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ErikC
  •  ErikC
  • Free support Topic Starter
2015-09-10T11:19:57Z
Hi,

I have a task which has several flows setup:

On error - wait 00:01:01, retry 3 time and if finaly fail stop job
On error - Run email notification 1
On error - Run email notification 2
On error - Run email notification 3
On complete - Run file notification
On success - continue with next task

It looks like only the 1st on error works in the flow when the task fails, the other email notifications are not working.
But I want to retry the task a few times and if that fails email using the on error email notifications.

Why is this not working?

Regards,
Erik
Uses Visualcron since 2006.
Sponsor
Forum information
thomas
2015-09-10T12:45:55Z
Does the Run file notification work?

To me it kind of makes sense that the mails don't fire (I think..). My guess is that when you do a wait -retry, subsequent error events are cancelled. Because if you retry the job, and an error event is fired again, then the wait -retry lopp would be triggered once more, and you end up with an infinite loop. If that makes sence...... But I would have thought that the on complete would fire.

Thomas
Support
2015-09-10T13:07:09Z
I can see that it can cause problems. Perhaps we can prioritize Flows so that Run Notification is run before any Wait/Retry. Otherwise it will be aborted.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas
2015-09-10T13:13:05Z
If you do that, the mails will be sent before the retry. But that doesn't make sense, as you don't want to send mails if the job succeeds on the next retry.

Thomas
Support
2015-09-10T13:26:47Z
Originally Posted by: thomas 

If you do that, the mails will be sent before the retry. But that doesn't make sense, as you don't want to send mails if the job succeeds on the next retry.

Thomas



You are right, I thought he did not want dependency but just "run all independently". We have no such feature to create those kind of dependencies in the Flow.

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas
2015-09-10T13:32:33Z
It's a tricky one. Maybe you could add a 'on error retry' event. But I guess it is not trivial.

Thomas
ErikC
  •  ErikC
  • Free support Topic Starter
2015-09-11T07:44:42Z
Hi,

Nice to see this conversation. 😁

What I expect is that when a task fails all the on errors will run, but.. the on error retry is a special one.
If the on error retry flow is present all the other on error flows should wait what comes out of the retry flew. If the task will succeed in afterall, no extra on errors are needed. If the task will finaly fail, than all the other on errors should run.

For now, I deleted the on error retry flow, I need the emails when it fails.

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top