public Object execute(Context context) {
KieSession ksession = ((KnowledgeCommandContext) context).getKieSession();
if (processInstanceId == -1) {
ksession.signalEvent(eventType, event);
} else {
ProcessInstance processInstance = ksession.getProcessInstance(processInstanceId);
if (processInstance != null) {
processInstance.signalEvent(eventType, event);
}