How do I open propertiesPanel with code

Hello everyone!

I have a question , In code, how do I activate the properties-panel by usertask-id

I’ve tried a lot of things but they don’t work

What did you try? And why it did not work?

Because I need to activate the properties panel for the task when I open the page, I don’t know what I can do

Is there a similar way to activate the properties panel?

//Access to task
var task = bpmnModeler.get('elementRegistry').get('UserTask_id'); 
//TODO open/activate the properties panel

I’m pretty sure this is the method you need.