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.


doconnor
2013-01-21T20:20:57Z
Is there no concept of private variable in a job?

When i clone a job I must go through and update all the tasks that reference other tasks within the job.

If I set the output of a task to a global variable, but the two jobs run at the same time, things conflict.

Maybe I'm missing something?

Thanks,

Drew
Sponsor
Forum information
Support
2013-01-21T22:49:08Z
Yes, the idea is that it is global. If you want to make unique right now you have to add some unique value like Job id in Variable.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ScubaDrew
2013-01-22T18:28:17Z
Yes, if i did that for a single job, for my 35 customers, and the job had 5 variables, I'd have 175 variables I'd have to create today.

Even if I could reference a task by a name, say we call the task that gets the POSIX time "PosixTime" then instead of referencing by GUID, or "Previous Task" (which is only useful for the task following the Posix time task, not any subsequent tasks) when I cloned the job, you would not have to update all these references.

Drew

Originally Posted by: Support 

Yes, the idea is that it is global. If you want to make unique right now you have to add some unique value like Job id in Variable.

Support
2013-01-22T21:57:20Z
I understand. I am moving this to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ScubaDrew
2013-01-23T14:04:39Z
Originally Posted by: Support 

I understand. I am moving this to Feature requests.



Henrik, I did think over what you said for some time, and ended up using a set variable command which includes the JobID in the variable name.

This solves my problem, in that when i clone a job, the variables will reference the new jobs GUID.

It still will result in my having, many hundreds of variables. Also, I realized that if I remove a job, I'll have to go in and manually find and delete all the variables with the GUID of the job deleted.

Thank you for your consideration.

Drew

Support
2013-06-25T09:51:29Z
Job Variables was implemented a while ago.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top