05-29-2013 07:37 PM
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://activiti.org/bpmn20">
…
<message id="cancelRenewal" name="cancelRenewal"></message>
<process id="signupWorkflow" name="Sugarsync Signup Process" isExecutable="true">
…
<boundaryEvent id="boundarymessage1" name="Message" attachedToRef="subprocess1" cancelActivity="true">
<messageEventDefinition messageRef="cancelRenewal"></messageEventDefinition>
</boundaryEvent>
</process>
</definitions>
I have plugged in a java service task where i wish to send a message to cancel this process:05-31-2013 08:00 AM
05-31-2013 08:27 PM
06-03-2013 09:51 PM
06-04-2013 10:37 AM
/**
* Only select executions which have a message event subscription
* for the given messageName.
*
* (The messageName is specified using the 'name' attribute of the message element
* in the BPMN 2.0 XML.)
*
* @param messageName the name of the message the execution has subscribed to
*/
ExecutionQuery messageEventSubscriptionName(String messageName);
06-04-2013 05:15 PM
06-06-2013 08:47 AM
06-07-2013 04:27 PM
06-10-2013 11:33 AM
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.