New lines in custom element properties are removed when editing in “Extension” Tab.
When editing in Extension tab, it shows all the property values without new line. If you change any one of the property, then all the properties loose new line character.
I think retaining new lines (as entered in text boxes in the modeler) is important in several cases.
Consider a script task for example. If you create a JavaScript script task, new lines are essentially treated like a semicolon – they end a statement. So stripping out new lines causes JavaScript tasks to break, and can be disconcerting to developers accustomed to using the new line style. We encountered this, and were very confused at first, until we figured out that adding back in the semicolons at the end of each line fixed the issue.
Another important case, is if you want to preserve formatting in a text field that is used as input to a custom task (e.g. a JavaDelegate). While there is a workaround for the JavaScript case, there appears to be no workaround in this case.
Hey I need a help, While passing the message from user task form field of string type, camunda is accepting it if it doesn’t have line break or tab,but it fails the request if it have any of those