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.


Dmitrij Kultasev
2019-09-18T16:08:26Z
Is it possible to have dynamic name? I want to set variable value at runtime and the variable name will be known only at runtime. For example variable name can be something like name of the group + something?
For example:
Variable - GRP1_last_updated, GRP2_last_updated, ...
Then if I run job from GRP1 I want to set GRP1_last_updated variable and use it in the entire job. If I move that job to GRP2 then it would automatically use GRP2_... variables.
Sponsor
Forum information
Support
2019-09-19T14:23:06Z
Originally Posted by: Dmitrij Kultasev 

Is it possible to have dynamic name? I want to set variable value at runtime and the variable name will be known only at runtime. For example variable name can be something like name of the group + something?
For example:
Variable - GRP1_last_updated, GRP2_last_updated, ...
Then if I run job from GRP1 I want to set GRP1_last_updated variable and use it in the entire job. If I move that job to GRP2 then it would automatically use GRP2_... variables.



Yes, you can use the variables {JOB(Active|Group)}

Or go in to VisualCron variables --> Jobs --> Active Job --> Select the job --> Then use the jobID, name or group variable whichever you see fit for your purpose.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top