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


Gary_W
2019-06-26T20:44:53Z
Maybe this should be in feature requests?

In the process of experimenting with the task repository I created a powershell task in the repository and job/task that referenced it. The only option is to reference the repository task by direct ID. I then deleted the powershell task from the repository and readded it. Now the job fails as the new task has a new ID but the task in the job still references the old task repository ID.

What if I brought down a new version from the online repository or dropped/added my own task, would it get a new ID and break existing tasks?

What about copying repository tasks between servers? Would the same issue of the risk of overwriting repository tasks exist that exists right now with standard jobs/tasks? I'd love to see a server-independent task repository. Which brings to mind the question, how is that handled with tasks from the online repository? Are they assigned server-dependent task ID's when downloaded? If so, we need this for jobs and tasks copied between servers ASAP!
Sponsor
Forum information
Support
2019-06-28T13:00:02Z
Downloading will keep the same Id (and overwrite it if you redownload). There is no risk of clash between id's in general. It is the same as with Jobs.

Probably we can add support to reference Task repository object by name. Will move this topic to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Gary_W
2019-06-28T20:21:15Z
Since its related I'd like to add an additional thing. In the task repository, tasks are listed by name and description. And in the variables window, one selects the task from the tree control by name. However, once selected the VC variable name (for instance in the "value" box of a set job variable task) is only the cryptic task_id: {TASKREPOSITORY(cac72ba7-a697-4663-96e4-cbe001187305|)}. In the future there's no way I'll know what task that is by the ID alone. This is just an example or argument for being able to reference the task by name.

Support
2019-07-03T18:13:15Z
Please try with this now: https://www.visualcron.c....aspx?g=posts&t=9532 

You should be able to use the Name property instead of Id.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Gary_W
2019-07-03T18:31:41Z
Manually typed the name of the task's function instead of the ID (no double-quotes): worked. I could not select it though, the default is still "direct" which of course plugs in the ID.
Support
2019-07-03T19:26:01Z
Originally Posted by: Gary_W 

Manually typed the name of the task's function instead of the ID (no double-quotes): worked. I could not select it though, the default is still "direct" which of course plugs in the ID.



Right, it is more like a hidden feature right now.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top