result.setDeploymentId("N/A");
return result;
}
public static ProcessInstanceRef processInstance(ProcessInstanceLog processInstance) {
ProcessInstanceRef result = new ProcessInstanceRef(
processInstance.getProcessInstanceId() + "",
processInstance.getProcessId(),
processInstance.getStart(),
processInstance.getEnd(),
false);
TokenReference token = new TokenReference(
processInstance.getProcessInstanceId() + "", null, "");
result.setRootToken(token);
return result;
}