Multiple Start Events #75
Closed
MaheshkumarSundaram
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi, BPMN-Server supports multiple start events, so when you start a process server.engine.start(processname, mydata, startNodeId); So you need to provide the code that respond to the trigger and select the appropriate start node. Another approach is to conditional flow, by have one start event that branches into 3 different actions. this would be the simplest approach. A third options is to issue a 3 different messages for each separate process. BPMN-Server does not support conditional start event, if that is what you meant. Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @ralphhanna,
I would have your opinion on the below scenario:
I would like start a workflow based on a trigger programmatically. Let's say the
trigger
is of typestring
whose values can beA
,B
,C
,D
orE
.I would like to start the above example workflow only if the value of the
trigger
isA
,B
orC
. Likewise based on thetrigger
value, I would like to start the workflows associated with the trigger.Is it possible to achieve this programmatically using your engine?
Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions