08-29-2011 07:24 PM
08-31-2011 02:11 AM
<itemDefinition id="StartProcessMessageType" structureRef="java.lang.String" />
<message id="StartProcessMessage" itemRef="StartProcessMessageType" />
<!– Start Event–>
<startEvent id="messageStartEvent" name="StartProcess" >
<dataOutput id="messageStartEventOutput" />
<dataOutputAssociation>
<sourceRef>messageStartEventOutput</sourceRef>
<targetRef>s</targetRef>
</dataOutputAssociation>
<outputSet>
<dataOutputRefs>messageStartEventOutput</dataOutputRefs>
</outputSet>
<messageEventDefinition messageRef="StartProcessMessage"/>
</startEvent>
08-31-2011 02:38 AM
08-31-2011 06:42 PM
09-01-2011 02:17 AM
03-19-2018 05:20 PM
I keep searing for the same. I have a parent process that does some stuff and at some point I want to create several subprocesses. I suppose I can loop in the flow, that seems awkward. The first thought I has was a script task that called startProcessInstanceByMessage() ... specifying a message refernce. I'd have another process that used the "message start event" ...
This is what the Eclipse plug-in generates. There appears to be exactly what I wont ... just throws an exception when I try to call startProcessInstanceByMessage() beccause there are no subscribers.
<startEvent id="messagestartevent1" name="Message start" activiti:async="true">
<messageEventDefinition messageRef="TriggerSubProcessMessage"></messageEventDefinition>
</startEvent>
The reference you make takes me to the User Guide that sure seems to descrbie just want i want...
A message start event can be used to start a process instance using a named message. This effectively allows us to select the right start event from a set of alternative start events using the message name.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.