pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

Missing names in SequenceFlow when parsing XML #441

Closed sap-lukas closed 1 year ago

sap-lukas commented 1 year ago

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: https://github.com/pm4py/pm4py-core/blob/3987530f234859a9e2c60d177ad988429b18b69a/pm4py/objects/bpmn/importer/variants/lxml.py#L231 where name is always set to an empty string).

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

Cheers Lukas

fit-alessandro-berti commented 1 year ago

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).