Variables are not replaced in Manual Step

Hi,

I have a manual step to verify the environment but it seems that the variables are not replaced in the Instructions:
Instructions:
Please verify the domain #{DeployDomain} before the swap.

Variable DeployDomain is https://abc.domain.com

When rendered the link points to https://od.onesaas.com/app#{DeployDomain}

And the UI looks like attached picture.

OD.png

Hi,

I’ve been unable to replicate this issue locally, could you please provide the following information:

  1. What version of OD are you currently running
  2. A screenshot of the manual intervention setup
  3. How your variable has been configured, e.g. scopes etc.

Thank you,
Henrik

Hi Henrik,

This is my step config:
[image: Inline image 1]
The variable is coming from a Library Set:
[image: Inline image 2]

The variable exists twice, once for each Target. The project has two
targets (Azure WebApps) to deploy too.
Which could explain why it can’t be found as it does not know from which
target to grab the variable from.

Can this be fixed somehow?

image.png

Hi,

By default a manual intervention step runs as step on the Octopus server, so it won’t have any machine level knowledge. However, if you add the manual intervention step as a child step to your main deployment step, then it will pick up the correct variable depending on which target it is currently running on. See attached screenshot of an example.

I hope that helps.

Thank you and best regards,
Henrik