cancel
Showing results for 
Search instead for 
Did you mean: 

When create execution, Engine not create EventSubscription

aiskandr
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

trademak
Star Contributor
Star Contributor