why is it important to add variable prefix in certain policies like extract variables policy?

why is it important to add variable prefix in certain policies like extract variables policy? @anilsagar

0 1 694
1 REPLY 1

Hi @Arun Prasath Sivanesan , Extract Variable & Assign Messages are used extensively in an Apigee proxy. So in some cases, we may extract the variable with the same name multiple times. In order to assign them to a unique variable, we make use of the variable prefix.

It is an optional parameter. But it is good practice to use variable prefixes, where possible, to organize variables based on their purpose, for example, Consumer.username and Consumer.password.

They may be some other importance of the prefix variable. As of now, I can think of this.