Forum Discussion

ToddChitt's avatar
ToddChitt
Super User
1 year ago
Solved

Set Pipeline Return Code using Dynamic Content

I have a pipeline that has one job: use a Web activity to get an Access Token to be used in other Web activities. Those other web activities in other pipelines so to simplify the design, I want to ca...
  • spencer_sa's avatar
    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.