Replacing Variables in Metadata During Deployment Process

What is the correct sequence for replacing a variable with a specified value during deployment in metadata?

a. Variable, Pipeline, Key, Variables, Value, INT

b. Key, Environment, Variables, Pipeline, Value, INT

c. Variable, Environment, Key, Pipeline, Value, INT

d. Key, Pipeline, Variables, Value, Environment, INT

Answer:

The correct sequence for replacing a variable with a specified value during deployment in metadata is Key, Pipeline, Variables, Value, Environment, INT.

When committing or deploying files, if the key value is found in the metadata, it is automatically replaced by {!___.var_name}. For instance, you can create an environment variable in the Environment and name it Org_URL. You have also specified the key for each variable in the Pipeline. Upon deployment to the next environment, say INT, Copado will replace the variable with the value you added for INT. Therefore, the correct answer is: d. Key, Pipeline, Variables, Value, Environment, INT.

← Improve your excel skills with if functions and cell range names Raid levels and data redundancy which level provides the best protection →