Question
In the Test environment, a constant named PV_TXT_TEST already exists. If a developer creates a new constant with the same name in the Development environment and deploys it to Test, what happens during deployment?
Answer
In this scenario, the deployment fails because a constant with the same name already exists in the target (Test) environment.
Deployment will processed but when you checked deployment logs:
- Shows The constant AV_TEST_TEXT_CONSTANT already existed in the Test environment.
- During import, Appian attempted to create the constant rather than map or overwrite it.
- Appian enforces name uniqueness for constants within an environment, so the import failed with the error:
Name is insufficiently unique (APNX-1-4071-007)
This confirms that:
- Compare & Deploy may appear to proceed initially,
- but during the import phase, Appian detects the duplicate name and rejects the object,
- causing the deployment to complete with Errors, even though the package itself was successfully imported.
JuniorConstant
Loading comments...