Dynamically selecting packages at deployment time

Hello,
I have a problem with the Dynamically selecting packages at deployment time. Maybe my understanding is not correct.

I have a project variable “FeedID” with 2 values:
Feeds-1041 -> dev, qa
Feeds-1043 -> pp, prod
The scopes are environments. So my understand is, that in my process I unbind the package feed an enter my variable like this: #{FeedID}
The packe ID can be entered the same way or by just typing the ID.

After saving, I get the message that “The resource ‘#{FeedID}’ was not found.”

Where is my mistake? Version is: Octopus v2020.1.15

kind regards
Tobias

Hi @tobias.rebsch,

Thank you for contacting Octopus Support.

It looks like you may be running against this bug (or possibly a slight variation):

If this variable is set at the project level, you should be able to add an unscoped value to get around this. See example below:

Let me know if that works for you.

Regards,
Donny

Hey Donny,
thanks for your reply. In our case we have project variables, so we don´t run against this bug I guess.

Now I tried to add an unscoped value but get the same “unexpected error”:


Kind regards

Hi @tobias.rebsch,

Thank you for getting back to me.

Just to confirm, you are seeing the error message when attempting to save the process step in your project, correct? If that is the case, could you provide a copy of your Process JSON? I would like to try to reproduce this in a test environment on my end to see why this is happening.

You may upload the process here, PM me directly or upload via this secure link.

I look forward to hearing back from you.

Regards,
Donny