It is correct the following code to do this?
bpmnJS.get('zoomScroll').reset();
var task = bpmnJS.get('elementRegistry').get('UserTask_0gtca6i');
bpmnJS.get('selection').select(task);
bpmnJS.get('canvas').zoom(1.0, task);
It is correct the following code to do this?
bpmnJS.get('zoomScroll').reset();
var task = bpmnJS.get('elementRegistry').get('UserTask_0gtca6i');
bpmnJS.get('selection').select(task);
bpmnJS.get('canvas').zoom(1.0, task);