Pål Edman

Results 80 comments of Pål Edman

Can you give some stats about the process, number of tasks, subprocesses, events, sequence flows, etc?

What is the execution time? or what is slow in your implementation? Your process seem rather reasonable, or not even large at all. I have a client with a process...

![issue-42-discard](https://github.com/user-attachments/assets/4d09a9a4-195b-46ea-b5d5-9799e49b70a0) Which of the three sequences is similar to your diagram?

You will have a massive amount of discard loops with this design. Each taken or discarded sequence flow will trigger the next task [execution](https://github.com/paed01/bpmn-elements/blob/master/docs/Activity.md). Multiple outbound sequence flows is basically...

If the end-event is really the end of execution, what if you make it a terminate end event? Then all other element will be stopped.

I guess that would speed up execution. The terminate end event will stop all sequence flows and outstanding tasks (if any). Did you notice any difference in execution time?

What is the reason behind having multiple conditional sequence flows between the tasks? Logging? Logic? > NB! A task that cannot take any outbound conditional flows will throw `ActivityError`.

I haven't encountered designs with multiple sequence flows to the same target. I have to think how to handle that.

Can you test again with `npm i bpmn-elements@rc` (v16.2.0)? It should be a little better, but no promises.

Sorry about that. The complexity of a flow will have a performance impact, as in programming in general. Loopback is a fantastic thing but comes with a price. Instead of...