pm4py/pm4py-core

Missing names in SequenceFlow when parsing XML

sap-lukas opened this issue · 1 comments

I found that when parsing BPMNs from XML files, the names of sequence flows get lost (I think this may be related to this line:

flow = BPMN.SequenceFlow(outgoing_dict[flow_id][0], incoming_dict[flow_id][0], id=flow_id, name="", process=outgoing_dict[flow_id][1])
where name is always set to an empty string).

Is there a reason why the sequence flow names are being dropped?

Cheers
Lukas

Dear @sap-lukas

Thanks for signaling. Albeit we do not use the information internally, we'll propose a fix to properly store the name of SequenceFlow(s).