-
Notifications
You must be signed in to change notification settings - Fork 209
Description
Bug Report
Please provide information about your setup
- formsflow.ai Version: 7.0.0
- Browser: Edge, Firefox, ... (browser independent bug)
- Browser version:
Steps to Reproduce
- Create a new form (New Form button --> Build)
- Upload the following BPMN file to the newly created form:
(Since uploading files with ending .bpmn in issues is not allowed, I changed the ending to .txt. Please revert this change before uploading the file to reproduce the error.)
Observed Behaviour
Upload result:
The process referenced by the participant in the BPMN file is missing completely.
Expected Behaviour
The upload result should contain the process and the referenced participant as shown in the picture below:
Notes
A slightly modified version of the BPMN file can be uploaded successfully. If the id attribute of the process and the processRef attribute of the participant are changed to the ID of the newly created form before uploading, then the import works as expected.
The reason seems to be the change of the process key in the file forms-flow-api/src/formsflow_api/services/import_support.py. There uploaded file is stored under the existing process key of the newly created form, but the contents of the BPMN file is not adapted to this (i.e. the processRef attribute of the participant is not changed). In consequence, the reference information between process and participant seem to be lost.

