how to remove the output from the list in dmn drools workbench

16 views
Skip to first unread message

Ramanathan M

unread,
May 30, 2024, 1:18:02 AMMay 30
to Drools Usage
Request :

{
    "model-name": "firstdmn",
    "decision-name": "output",
    "decision-id": [],
    "dmn-context": {
        "Name": "Siva"
       
    }
}

Response :

{
  "type" : "SUCCESS",
  "msg" : "OK from container 'multpiledmn_1.0.0-SNAPSHOT'",
  "result" : {
    "dmn-evaluation-result" : {
      "messages" : [ ],
      "model-name" : "firstdmn",
      "decision-name" : "output",
      "dmn-context" : {
        "output" : [ "Triangapps", "zoho" ],
        "Name" : "Siva"
      },
      "decision-results" : {
        "_DABA2AF0-B4BD-41DA-A521-6C59B333B2F3" : {
          "messages" : [ ],
          "decision-id" : "_DABA2AF0-B4BD-41DA-A521-6C59B333B2F3",
          "decision-name" : "output",
          "result" : [ "Triangapps", "zoho" ],
          "status" : "SUCCEEDED"
        },
        "_80BF9C44-71DF-4BE5-9C2B-5B4D3E85388B" : {
          "messages" : [ ],
          "decision-id" : "_80BF9C44-71DF-4BE5-9C2B-5B4D3E85388B",
          "decision-name" : "second",
          "result" : null,
          "status" : "NOT_EVALUATED"
        }
      }
    }
  }
}
------------------------------------------------------------------------- //
"output" : [ "Triangapps", "zoho" ], this is my output how to remove from the list like this I want a output"Triangapps","zoho"

Reply all
Reply to author
Forward
0 new messages