Decision Model Notation Export

POST {{_endpoint}}/services/data/v{{version}}/connect/business-rules/decision-models/export

Decision Model Notation Export (POST)

Export decision matrix data to a file in the DMN (Decision Model Notation) format, an easily readable format for business rules designed by Object Management Group.Resource

/connect/business-rules/decision-models/export

Resource Example

https://yourInstance.salesforce.com/services/data/v59.0/connect/business-rules/decision-models/export

Available version

58.0

Requires Chatter

No

HTTP methods

POST

Request body for POST

JSON example

{
   "decisionModelEntityIds":[
      “0lNRO00000004f72AA”,
      “0lNRO000000rfn27AA”
   ]
}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
decisionModelEntityIdsString[]A list of decision matrix version IDs to export data from.Required58.0

Response body for POST

Decision Model Export Output

Decision Model Export Output

Output representation of a completed DMN (Decision Model Notation) export request.JSON example

{
   "message":"OK",
   "success":true,
   "errors":[
      {
         "errorCode":"BAD_REQUEST",
         "errorMessage":"We couldn’t find this record. Specify a valid ID for decisionModelEntityIds parameter.",
         "recordId":"0lNRO00000004fsdfAA"
      }
   ]
}

Property NameTypeDescriptionFilter Group and VersionAvailable Version
errorsDecision Model Export Error[]List of errors corresponding to a failed export request.Small, 58.058.0
messageStringResponse message from the completed export request.Small, 58.058.0
successBooleanIndicates whether the export request was successful (true) or not (false).Small, 58.058.0

Request Body

{"decisionModelEntityIds"=>["0lNHo000000LEvfMAG"]}

RESPONSES

status: Created

{"errors":[],"message":"OK","success":true}