Forum Discussion
Set Pipeline Return Code using Dynamic Content
- 1 year ago
Going to take a wild guess here.
Have you changed the type of the pipeline return value to 'Expression' instead of 'string'?
I did a simple 2 pipeline workflow, the first calls the second and sets a variable based on the return value from the second. (the second pipeline just has a Get Metadata step and outputs that as its return value.
Inner pipeline - you've seen the Set Variable in the picture above.Outer pipeline
Outer set variable
And the audit result
If this helps, please consider Accepting as a Solution to help others find it more easily.
Going to take a wild guess here.
Have you changed the type of the pipeline return value to 'Expression' instead of 'string'?
I did a simple 2 pipeline workflow, the first calls the second and sets a variable based on the return value from the second. (the second pipeline just has a Get Metadata step and outputs that as its return value.
Inner pipeline - you've seen the Set Variable in the picture above.
Outer pipeline
Outer set variable
And the audit result
If this helps, please consider Accepting as a Solution to help others find it more easily.
Thanks, while I have not tried it yet, I'm 99% sure that is what I missed.
Thanks!