-
Key: DMN15-151
-
Status: closed
-
Source: camunda.com ( Mr. Nico Rehwaldt [X] (Inactive))
-
Summary:
Currently concatenating strings is not intuitive to users, as I always have to convert non string values to strings using the built-in `string` function.
So
```
"Today is " + now() = null
```In order to yield the actual string you explicitly convert `now()` to its string representation:
```
"Today is " + string(now()) = "Today is 2021-12-12"
```A more user friendly behavior would be to coherse the second argument to string if the first argument is already a string. This always yields a string representation of the thing. If it is not what I desire I can use custom stringification mechanisms explicitly.
We'd need to amend the Table 57 (page 128, https://www.omg.org/spec/DMN/1.4/Beta1/PDF) to support such cohersion.
—
Additional details on this case can be found in https://github.com/dmn-tck/tck/issues/538 (DMN TCK issue on this topic).
-
Reported: DMN 1.4b1 — Thu, 19 Jan 2023 12:50 GMT
-
Disposition: Deferred — DMN 1.5
-
Disposition Summary:
Defer to DMN 1.6
Defer to DMN 1.6
-
Updated: Fri, 30 Jun 2023 20:31 GMT
DMN15 — Friendly enough cohersion to string
- Key: DMN15-151
- OMG Task Force: Decision Model and Notation 1.5 RTF