Get all SequenceFlow between tow task

hi,

Is it possible to retrieve all of the SequenceFlow between tasks. Considered if I have multiple gateway

cordially

you have to parse the BPMN and get the connects flow flows connected to the activity.