Skip to content

The operation /model/exist always responds with a result:null and ecode:0 no matter if the model exists or not

When deployed as part of the ADOxxWeb API the /model/exist operation always returns the same result and ecode in the response, even though the inputs should lead to different results.

Example 1: not existing model

  • modeltype: Business process diagram (BPMN 2.0)
  • modelname: something
{
  "success": true,
  "startDate": "22.09.2025,12:56:15",
  "endDate": "22.09.2025,12:56:15",
  "script": "CC \"Core\" UPDATE_MODEL_LIST \r\nCC \"Core\" GET_MODEL_ID modelname:\"something\" modeltype:\"Business process diagram (BPMN 2.0)\"\r\n\r\nSET adowsresponse:(ecode)",
  "duration": 77,
  "ecode": "0",
  "errorText": "No error",
  "result": null
}

image

Example 2: existing model

  • modeltype: Business process diagram (BPMN 2.0)
  • modelname: something 2025.09.17 11:19:27
{
  "success": true,
  "startDate": "22.09.2025,01:01:48",
  "endDate": "22.09.2025,01:01:48",
  "script": "CC \"Core\" UPDATE_MODEL_LIST \r\nCC \"Core\" GET_MODEL_ID modelname:\"something 2025.09.17 11:19:27\" modeltype:\"Business process diagram (BPMN 2.0)\"\r\n\r\nSET adowsresponse:(ecode)",
  "duration": 114,
  "ecode": "0",
  "errorText": "No error",
  "result": null
}

image