Community forum

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


ifeguy
2018-11-05T06:26:34Z
I have a flow event set on a task where if the Output of the task is empty, it is supposed to stop the job.

I have the following configuration for the flow event

On Complete If Output String Equal <blank> Stop Job.

Is there a different way to configure this to get the job to stop with no output on the task?
Sponsor
Forum information
thordw
2018-11-05T07:50:22Z
Hi

I would recommend that you create a condition that's general for these types of flows.
It's let's you easily see if a task has a different flow then default.

Just create a condition that has te following properties
Condition Type: VisualCron
flow.png
And in actions just do the following
flow.png
ifeguy
2018-11-05T16:22:09Z
Thanks for your response. Would this approach be for my specific task, or for all tasks? Would this condition show up in other jobs/tasks?

Do you know why the approach I took with the flow doesn't work?
thordw
2018-11-05T18:02:26Z
Hi
Quote:

Would this approach be for my specific task, or for all tasks? Would this condition show up in other jobs/tasks


More task would be able to utilize this condition since we made i general, all task that uses it would also be found with the "Object relations" function under Tools tab.
Quote:

Do you know why the approach I took with the flow doesn't work?


Hard to say since I don't know the setup of you're tasks flow tab. Would it be possible to send an attached image?
ifeguy
2018-11-07T04:54:08Z
I tried using the condition and assigned it to the task...and it doesn't work in the way I need it to. I need the task to run first and then end if the output string is empty. The condition, checks the task output before the task runs.

Any other ideas?
thordw
2018-11-07T05:56:00Z
Hi try this setup
flow-test.PNG
I set up a simple list files task, tried with files in place and it continiued and no files it stopped.
ifeguy
2018-11-07T07:08:15Z
I am running version 8.3.6. Do you think this is a factor?
thordw
2018-11-07T09:34:34Z
I've tried in 8.2.1 and 8.3.7 with same result
ifeguy
2018-11-07T18:26:54Z
What are the differences in this situation with using "On success" versus "On Complete"?
thomas
2018-11-08T12:46:15Z
On complete fires regardless of result. Post an image of what you have done, so we can debug it more easily.


ifeguy
2018-11-08T18:05:01Z
I have actually achieved the results I am looking for, thanks to your help. Thank you! But was just more curious of the difference between "success" and "complete"...with my use case, to me, it seems like I should have gotten the same results with either, but I didn't....thus the reason for my curiosity.
Scroll to Top