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


ivanthomas
2019-09-19T13:08:13Z
Is there any way to only allow a task to run within a job's flow (i.e. disallow right click -> run task)
In this case I have a job that updates a database from a file. File is refreshed in a previous task. I don't want someone accidentally running just the database update task. For this, would I have to use a variable condition (and set the variable after the previous task runs)?
Sponsor
Forum information
thomas
2019-09-20T07:55:56Z
I have wanted the same thing. There is no elegant way of solving this today. You can take those tasks from job A and extract into a separate job B. In job B you click on permissions, and remove ability to execute. Job B can no longer be executed manually. In job A you create a flow where you have the condition On success => run job B.

I think this should work, but it's a bit messy, and overriding permissions to achieve this is not ideal. It would be nice to be able to have a checkbox in each task, where you have the ability to define it as a 'Child task only'. This would imply it cannot be executed manually.

Support
2019-09-20T09:48:14Z
Originally Posted by: thomas 

I have wanted the same thing. There is no elegant way of solving this today. You can take those tasks from job A and extract into a separate job B. In job B you click on permissions, and remove ability to execute. Job B can no longer be executed manually. In job A you create a flow where you have the condition On success => run job B.

I think this should work, but it's a bit messy, and overriding permissions to achieve this is not ideal. It would be nice to be able to have a checkbox in each task, where you have the ability to define it as a 'Child task only'. This would imply it cannot be executed manually.



It's not a bad suggestion,
Have you created a feature request for it in the feature request sections of the forums? If not, we would appreciate if you did that
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top