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


thomas
2016-04-08T08:10:07Z
I have mentioned this a few times, but I am going to make this an official request. And I will repeat it every month until I get it :)

In a job flow, we can today run jobs, or notifications after certain events (On complete, On success, On error and so on), but we cannot pass parameters. This makes no sense!. I have to create loads of unnecessary jobs and notifications simply because I cannot pass parmeters. As an example, we have a few jobs triggered by incoming email, where we want to clean up the folders 'On complete'. I would obviously like to have only one job I call for this, passing in the folder path I want to clean up. Today I have to make one job for each of the folders I weant to clean up. VisualCron is a great product, but this is really annoying 🙂 please please please please fix this.

Thomas
Sponsor
Forum information
Support
2016-04-08T08:42:15Z
If you create one Job for this you can use the Job/Task control Task and pass a Job Variable to that Job. This way you can have one Job that takes a parameter.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas
2016-04-08T09:01:35Z
I don't see how that is the same thing.

Let's say I create this job you suggest, with the name job A.

I have a second job (B), where I want to 'On complete' (ie success or failure), run job A and pass a parameter. So in job B, I have to add a Job/Task control Task where I call job A. I assume this should be the last task in the job.

jobflow.PNG

And then what? I cannot call a task in job flows, I can only call jobs. So how do I make this task run regardless of failure/success? Even if this worked, it would be like a GOTO statement, which is 70's style programming, and should be avoided.

Maybe I am missing something very obvious here:)

Thomas
Support
2016-04-08T10:03:51Z
I agree that current solution will be more "messy" for this problem. So basically you want to have the same "Set Job Variables" (as exist in Job/Task control Task) beside the "Run Job" in flow"?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas
2016-04-08T10:40:57Z
Yes! That would be perfect. Ideally for notifications as well. I'll buy you a beer if you fix this.


Thomas
Scroll to Top