query.processInstanceBusinessKey(businessKey);
}
String processInstanceId = correlationSet.getProcessInstanceId();
if(processInstanceId != null) {
query.processInstanceId(processInstanceId);
}
query.messageEventSubscriptionName(messageName);
List<Execution> matchingExecutions = query.evaluateExpressionsAndExecuteList(commandContext, null);