AnsweredAssumed Answered

When create execution, Engine not create EventSubscription

Question asked by aiskandr on Jun 8, 2012
Latest reply on Jun 12, 2012 by trademak
In my process diagram to test task attached signalEventDefinition elements, but when create execution activiti throw error
org.activiti.engine.ActivitiException: Execution '272' has not subscribed to a signal event with name 'signal'.

In activiti-engine5.9.jar ExecutionEntity.class method initialize() contais next line
List<SignalEventDefinition> signalDefinitions = (List<SignalEventDefinition>) scope.getProperty(BpmnParse.PROPERTYNAME_SIGNAL_DEFINITION_NAME);

But scope anytime don't have signalDefinition property, and always return null.
signalDefinition is in some map of List ScopeImpl.activities.

How work Signal Event elemets?

Attahed proccess Diagram