Closed hanjoosten closed 1 month ago
@hanjoosten thank you for a issue. I tend to think A way to view and edit the restrictions of a column is already available in the modeler.
Here is how my custom type is defined:
Then I prepared one InputData node InputData-1
connected to a decision node Decision-1
. Then Setting expression type for Decision-1
as Decision Table I get.
Please notice Constraint
section in the panel on right side.
@jomarko thanks for this clarification. I totally overlooked the properties in this regard. I tend to right-click in the blue header box when in search of such things. My bad. So only remains a feature to keep the values in the constraint in sync with the actual type.
As @jomarko described in this blog, it is possible to add restrictions to an input row of a decision table. If a common type is being used during the generation of the DT, the values of that type are copied into the definition of that column. However, as a user of the editor, I have no control of these values. If the list of values in the type is modified, there is no way to
sync
those values. There is no way to see the restrictions, let alone to modify them. Currently the only way to do so is to hack the xml in a text editor. Wat I would like to have:(This was first discussed in this zulip thread)