processpiper icon indicating copy to clipboard operation
processpiper copied to clipboard

Request for improvements: AND gateway with multiple actors and loop behavior fixes

Open vectoire opened this issue 6 months ago • 3 comments
trafficstars

Hi @csgoh , thank you for this great project! I'm working on a process diagram using ProcessPiper, and I have two improvement requests:

  1. AND Gateway with Multiple Actors: I need the ProcessPiper to handle AND gateways with multiple actors. Currently, it's not clear how to structure or model an AND gateway when multiple actors are involved in the process flow.

  2. Loop Behavior: I am trying to model a loop where the process returns to an activity, but it seems that the tool does not allow the return to the activity within the same loop. Can you help fix this issue so that the loop behavior is handled correctly, without restrictions?

Is there any way to modify ProcessPiper to handle AND gateways with multiple actors and fix the loop behavior, so that it allows activities to return to themselves within a loop?

Thanks a lot for your assistance!

vectoire avatar May 09 '25 13:05 vectoire

Hi @vectoire,

For item 1, I am not sure exactly what you mean. If you want to have multiple elements connect to the parallel gateway, you can use the connect() function. Eg.

element_1.connect(gateway1)
element_2.connect(gateway1)
element_3.connect(gateway1)

As for item 2, I am not sure when I will have time to add additional function. I will be travelling soon. Do you want to help to enhance the package? 😊

csgoh avatar May 09 '25 21:05 csgoh

Hi @csgoh,

I'm working on generating textual output into BPMN diagrams using ProcessPiper. Could you please help me? I've just sent a PDF that shows the issue.

There are two code examples inside:

One that works correctly.

Another that fails when I add a fourth activity inside the AND gateway — it never works in that case.

Thank you in advance for your help!

Best regards,

Vectoire

On Fri, May 9, 2025 at 10:46 PM CS Goh @.***> wrote:

csgoh left a comment (csgoh/processpiper#64) https://github.com/csgoh/processpiper/issues/64#issuecomment-2867939300

Hi @vectoire https://github.com/vectoire,

For item 1, I am not sure exactly what you mean. If you want to have multiple elements connect to the parallel gateway, you can use the connect() function. Eg.

element_1.connect(gateway1)element_2.connect(gateway1)element_3.connect(gateway1)

As for item 2, I am not sure when I will have time to add additional function. I will be travelling soon. Do you want to help to enhance the package? 😊

— Reply to this email directly, view it on GitHub https://github.com/csgoh/processpiper/issues/64#issuecomment-2867939300, or unsubscribe https://github.com/notifications/unsubscribe-auth/BSJ2R3SZHZV3XHTOG75T2K325UOZVAVCNFSM6AAAAAB4ZDSRM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNRXHEZTSMZQGA . You are receiving this because you were mentioned.Message ID: @.***>

vectoire avatar May 09 '25 22:05 vectoire

Sorry, where did you send the PDF too???

csgoh avatar May 11 '25 20:05 csgoh