03-11-2015 01:30 PM
03-23-2015 12:50 PM
public void signalConfigurationUpdate(String departmentId, String sequenceId)
{
RuntimeService runtimeService = this.processEngine.getRuntimeService();
Map<String, Object> payload = new HashMap<String, Object>();
payload.put(VAR_SIGNALED_DEPARTMENT_ID, departmentId);
payload.put(VAR_SIGNALED_SEQUENCE_ID, sequenceId);
runtimeService.signalEventReceived(SIGNAL_CONFIG_UPDATED, payload);
}
public void setProcessEngine(ProcessEngine processEngine)
{
this.processEngine = processEngine;
}
protected void executeImpl(Action action, NodeRef nodeRef)
{
String signalName = (String) action.getParameterValue(PARAM_SIGNAL_NAME);
String executionId = (String) action.getParameterValue(PARAM_EXECUTION_ID);
RuntimeService runtimeService = processEngine.getRuntimeService();
runtimeService.signalEventReceived(signalName, executionId);
}
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.