Search found 4 matches

by mulderr
Fri Mar 17, 2017 12:53 pm
Forum: Scripting
Topic: Problem in switch2017 with job.getVariableAsString("[Job.Origin]", s)
Replies: 5
Views: 8446

Re: Problem in switch2017 with job.getVariableAsString("[Job.Origin]", s)

Hi, Thank you for answer. But I have a Legacy format This jobs are incoming from the FTP modules. I can see the value “Origin” in the “Define single-line text with variables”. But script doesn’t work. :cry: The same problem has variable [Job.Hierarchy] This is the javascript: var Hie = job.getVariab...
by mulderr
Thu Mar 16, 2017 5:11 pm
Forum: Scripting
Topic: Problem in switch2017 with job.getVariableAsString("[Job.Origin]", s)
Replies: 5
Views: 8446

Problem in switch2017 with job.getVariableAsString("[Job.Origin]", s)

Hi all, this command
job.getVariableAsString("[Job.Origin]", s)
worked god in the earlier version on switch. But after upgrade to switch2017 it receive "The variable '[Job.Origin]' was evaluated to ''" (empty)

Should you have any advice?