Select a notation with ID

    <bpmn:task id="Task_0bc2ahx">
      <bpmn:incoming>SequenceFlow_1napwvx</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0y0jiqs</bpmn:outgoing>
    </bpmn:task>

I have only Id’s of notations, how to select a particular notation with ID like Task_0bc2ahx

I am using bpmn-navigated-viewer.development.js and I am trying to apply overlay on task(notation)

thanks
vijay

You need to use ElementRegistry.get API.