Encounter with TypeError when change element

@nikku hii i am updating my bpmn-js from @8.7 to @ 17.7. while updating i decoulple my di from the buisness Object and that work fine but whenever i change element eg- Send task to business rule task then it encounter an error like-
image
How i can solve this issue? Thanks and waiting for ur response.

I see this may be related to the properties panel. Please share your project setup, at least the dependencies you use.

Thanks for reply. and dependencies which i have used-
“bpmn-js”: “^17.3.0”, (updating from @8.7)
“bpmn-js-properties-panel”: “^0.44.1”,
“bpmn-js-token-simulation”: “^0.33.0”,
“camunda-bpmn-moddle”: “^7.0.1”,
“camunda-dmn-moddle”: “^1.3.0”,
“diagram-js”: “^14.0.0”,
“diagram-js-direct-editing”: “^2.1.2”,
and can u suggest me which version of bpmn-js-properties-panel is compatible with latest version of bpmn-js ?

Try updating the other bpmn-js related dependencies to the latest version as well. The properties panel version you are using is a few years old. The latest version will work, which is 5.17.1

1 Like