I am trying to write a line of code in a variable but for some reason it is not executing and doesnot substitutes.
In the pipeline i have a variable called “processValidationResult”. I need to set different value in the variable “code” depending on the processValidationResult variable.
The line which i have written is as follows,
%ifvar processValidationResult equals(‘Success’)%200%else%405%end%
I have also done, variable substitute.
I would appreciate if you can put some insight in the same.