Variable prompt not updating value as expected

I’m trying to use a variable prompt for a deployment process, but something seems not to be working correctly.

  1. I defined a variable as a prompt and set a default value like ‘C:\deployment\changeme’.
  2. When I’m running the process, I do see the variable prompt with the default value
  3. I changed the value to ‘C:\deployment\something-new’
  4. I tell the process to continue

During the process execution, I open up the task log and, surprisingly, when the process gets to the deployment part, it says that it’s deploying the package to ‘C:\deployment\changeme’, so, the original value and not the one I wrote when prompted.



Hi Goncalo,

I noticed in your email that your variable is scoped to a “web” role, and to an environment. I think the scoping might be an issue - would it be possible for you to:

  1. Modify the variable and remove the scoping (environment scope might be OK, but the role/machine/step scope might not be)
  2. Create a new release
  3. When deploying, see if the prompt works as expected


Hi Paul,

Thank you for your reply. I removed the role as you suggested, updated the
process variables snapshot and deployed again. Everything worked as
expected this time, so the issue was indeed the role. This seems like a bug
though. In this scenario I don’t really need the scope, but I can see other
scenarios where it would be an issue.
Anyway, thank you for your help, my problem is solved!

Best regards,

Gonçalo Oliveira
Technical Lead

T. + 351 214 135 670

[image: Descrição: Descrição: Descrição:
Descrição: Descrição: Descrição:
[image: face] [image:
Descrição: Descrição: Descrição:

*Frotcom | 31 Offices | 13 languages |
*One team moving forward

Angola | Belgium | Brazil | Bulgaria | Cameroon | Cyprus | Croatia |
D.R.Congo | Georgia | Greece | Italy | Kenya | Kosova | Luxembourg |
Macedonia | Madagascar | Mauritius | Morocco | Portugal | Reunion Islands |
Romania | Rwanda | Senegal | Seychelles | Sierra Leone | Slovenia |
South Africa | Spain | Tanzania | Uganda | UK |

The information transmitted, including attachments, is intended only for
the person(s) or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, re-transmission,
dissemination or other use of, or taking of any action in reliance upon
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
destroy any copies of this information.