businessProcess.setVariable("processName", "throwSignal-visited (was " + businessProcess.getVariable("processName") + ")");
String signalProcessInstanceId = (String) execution.getVariable("signalProcessInstanceId");
String executionId = runtimeService.createExecutionQuery().processInstanceId(signalProcessInstanceId).signalEventSubscriptionName("alert").singleResult().getId();
CommandContext commandContext = Context.getCommandContext();
List<SignalEventSubscriptionEntity> findSignalEventSubscriptionsByEventName = commandContext
.getEventSubscriptionManager()
.findSignalEventSubscriptionsByNameAndExecution("alert", executionId);
for (SignalEventSubscriptionEntity signalEventSubscriptionEntity : findSignalEventSubscriptionsByEventName) {
signalEventSubscriptionEntity.eventReceived(null, true);