I have a common Visual Cron job that is called by other jobs. I'd like to have a variable which *some* of the jobs will pass in, but others will omit. The problem is that for the jobs where this variable is not defined, its passing in an error message, "Job Variable 'Recipients' not found." rather than an empty string or null. Is there any way to change this behavior?
Background:
We have a custom notification used by all our jobs. I'd sometimes like to pass in custom recipients, however, when you select a notification it doesn't allow you to specify variables for them. So instead, I modified the notification itself to look for a job variable called "Recipients". The problem is I don't want to define this job variable on every single one of our jobs, I only want to define it on the jobs that need custom recipients.
Thanks for any help.