Initiating focus on a node

Good morning, is it possible to solve the following problem.

I want to be able to focus on a specific node, but not by clicking on the node element, but by clicking from another window.

Usage scenario:

  • I display to the user a list of nodes that contain an error in their settings
  • each node has a button “Go to node”
  • when you click on the button, the list is closed, and the focus is set to the desired node

bpmnJS.get(‘zoomScroll’).reset();

var task = bpmnJS.get(‘elementRegistry’).get(‘UserTask_0gtca6i’);

bpmnJS.get(‘selection’).select(task);
bpmnJS.get(‘canvas’).zoom(1.0, task);

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.