If you want to access BPMN properties in the code, you should take a look here:
Changing properties in the app will be possible in the future using the properties panel. You can check out how to implement it here, but it is still under development right now.