I solved it like this.
There is only one problem left.
If i download the process i clearly see that there is a property added but in the moddeler form bpmn-js this does not get recognized.
Code:
In the modeler exe it is there in the properties panel but in custom bpmn-js not.
Custom Bpmn-js modeler: