Constant value not getting deployed

Certified Senior Developer

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

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Sarathkumar R

    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).

Children