Hi, I am trying to call the one parameter of job into another parameter of job with in same process chain. I have created a chain with 2 step (Job1 and Job2) with Variable VAR1 & VAR2 AT step 1 and VAR3 AT STEP3. So i have tired with following below method and its not working:
VAR3 =JobChainParameters.getOutValueString('Step 1, Job 1', 'VAR1')
JCS-122021: Could not evaluate default value for parameter: Parameter VAR3 for process 77513025
Step 1 is the step1 of the chain, Job1 is the first job of the chain & Var1 is the variable of job1.
I Have also tried with below script but its giving me same error and many others way:
VAR3= chainParameters.VAR1
But, when I am trying to call in same job with below, its working fine so why the above script it not working?
VAR2= parameters.VAR1
Please advice.
Regards,
Abhishek