Hi All,We have a constant containing a process model. Yesterday we moved that constant and process model from test to UAT. All values were present in test. After deployment, while doing sanity we found that the value of the constant was empty. All objects got imported even the constant and process model except the constant's value. We tried redeploying the constant but it said no change while inspecting. So we directly edited in model and saved the value in the constant. The deployment was done by devops person and he is a system admin. Any insights on this issue?
Discussion posts and replies are publicly visible
Did you check the export and import logs?
yeah we did. We had to import twice since multiple objects are being used across different applications and we were deploying multiple applications. While importing first time, the process model didnt get imported due to dependencies. When we imported 2nd time, process model got imported but constant didnt get updated and its showing no change in the log
Now you gave proper insight.1st import skipped process model due to dependencies. 2nd import brought the model but didn't update the constant's reference (like an outdated address).AFAIK constants store metadata, which is a reference to the process model, not the actual process model itself. So, the second import brought in the process model as a separate object, but the existing constant definition (pointing to the old location in the test environment) remained unchanged.I would recommend to edit constant value directly in UAT(Update Constant with Process Model).
Shubham Aware said:So, the second import brought in the process model as a separate object, but the existing constant definition (pointing to the old location in the test environment) remained unchanged.
This should never happen. Constants reference process models by their UUID.
If possible have both the objects in same package and can you try