09-24-2012 02:38 PM
<signal id="signalFacultyCancel" name="signalFacultyCancel"></signal>
<boundaryEvent id="boundarySignalFacultyCancel" name="boundarySignalFacultyCancel" cancelActivity="true" attachedToRef="divisionApproveTask">
<signalEventDefinition signalRef="signalFacultyCancel"></signalEventDefinition>
</boundaryEvent>
def executionInfo = runtimeService.createProcessInstanceQuery().processInstanceId(bpmProcessId).singleResult()
runtimeService.signalEventReceived("signalFacultyCancel", executionInfo.id)
| Error 2012-09-24 11:36:37,853 [http-bio-8080-exec-17] ERROR facleave.BpmWorkflowService - Sending request cancellation signal failed
Message: Execution '8' has not subscribed to a signal event with name 'signalFacultyCancel'.
Line | Method
->> 52 | execute in org.activiti.engine.impl.cmd.SignalEventReceivedCmd
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 29 | execute in ''
| 24 | execute . . . . . . in org.activiti.engine.impl.interceptor.CommandExecutorImpl
| 42 | execute in org.activiti.engine.impl.interceptor.CommandContextInterceptor
| 40 | execute . . . . . . in org.activiti.spring.SpringTransactionInterceptor
| 33 | execute in org.activiti.engine.impl.interceptor.LogInterceptor
| 189 | signalEventReceived in org.activiti.engine.impl.RuntimeServiceImpl
| 74 | facultyCancelRequest in edu.fhda.facleave.BpmWorkflowService$$ENjxa3Vg
| 43 | facultyCancelRequest in edu.fhda.facleave.ProcessManagerController
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run . . . . . . . . in ''
^ 680 | run in java.lang.Thread
09-25-2012 05:00 AM
09-25-2012 10:28 AM
I don't see anything wrong at first glance. Can you put the process (or a simplified version) in a unit test so I can test it (see http://forums.activiti.org/en/viewtopic.php?f=6&t=4637)
09-26-2012 04:08 AM
09-26-2012 11:24 AM
Thanks. Just create a Jira, and I'll find it.
10-01-2012 07:38 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.