In the Test environment, suppose a constant named PV_TXT_TEST already exists. Now, if I create a new constant in the development environment with the same name (PV_TXT_TEST) and deploy it to the Test environment, what will actually happen during deployment? Will Appian throw an error saying that the constant already exists, or will it overwrite the existing one?
This scenario came up in one of my interviews. In my current project, I don’t have permission to deploy to the Test environment, so I wanted to understand what the actual behavior would be.”
Discussion posts and replies are publicly visible
The deployment will throw an error similar to "name insufficiently unique". 7 or 8 years ago we had no ability to rename constants using any supported functionality, so overcoming this when it happened by accident was a giant pain. These days it's a 2-second fix, thankfully.
Hi Pooja, From my understanding, we can deploy the constant, but during deployment, the status of that constant object will be displayed as "Conflict Detected". But, yes, we can deploy the constant without any errors.