public override void execute(PerfTestRunContext context) { Execution execution = runtimeService.createExecutionQuery().messageEventSubscriptionName(message).processInstanceId((string)context.getVariable(processInstanceKey)).singleResult(); runtimeService.messageEventReceived(message, execution.Id); }
public override void execute(PerfTestRunContext context) { string executionId = context.getVariable(executionIdVariableName); runtimeService.signal(executionId); }