Author Topic: Publish decision table  (Read 1070 times)

ptysiu

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Publish decision table
« on: May 15, 2018, 01:16:56 am »
How to publish the decision table of the decision element (DMN) to the documentation generated based on the template?

Nabil

  • EA User
  • **
  • Posts: 141
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Nabil

ptysiu

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Publish decision table
« Reply #2 on: May 15, 2018, 04:58:24 pm »
Hi Nabil,

so the question though is how can I parse the DMN table (that is the new feature in the v14) using the script?

Is the DMN table an element so that I can browse its attributes?

Regards.

Nabil

  • EA User
  • **
  • Posts: 141
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Re: Publish decision table
« Reply #3 on: May 15, 2018, 06:03:35 pm »
Refer this link
https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/automation/element2.html
Element.GetDecisionTable() will return value as XML string

BR
Nabil
Nabil

ptysiu

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Publish decision table
« Reply #4 on: May 16, 2018, 07:16:18 pm »
Hi,

I tried to use the function You mentioned, but the function returns an empty string.
Did You use it for the decision table based on the DMN notation?


qwerty

  • EA Guru
  • *****
  • Posts: 10578
  • Karma: +232/-191
  • I'm no guru at all
    • View Profile
Re: Publish decision table
« Reply #5 on: May 16, 2018, 07:28:20 pm »
Suspecting a bug here. This is a new API function and guessing from the latest experience with newly introduced functions there's a high chance they don't work. Use the form below in the Support section.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6813
  • Karma: +63/-7
    • View Profile
Re: Publish decision table
« Reply #6 on: May 17, 2018, 08:47:53 am »
The DMN support added in EA 14 is separate the DecisionTable editor that was previously available. I think some of the DMN types use tagged values to store their definition. Not sure if they all do.
Eve

support@sparxsystems.com

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Publish decision table
« Reply #7 on: July 25, 2018, 11:03:54 pm »
The DMN support added in EA 14 is separate the DecisionTable editor that was previously available. I think some of the DMN types use tagged values to store their definition. Not sure if they all do.

I am also interested in getting the DecisionTable into the generated report.
What would be the way forward for the DMN Decision Table?

KR,
Robert