05-09-2016 08:45 PM
String initiator = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
05-10-2016 04:40 AM
public HistoricProcessInstanceEntityImpl(ExecutionEntity processInstance) {
id = processInstance.getId();
processInstanceId = processInstance.getId();
businessKey = processInstance.getBusinessKey();
processDefinitionId = processInstance.getProcessDefinitionId();
startTime = Context.getProcessEngineConfiguration().getClock().getCurrentTime();
startUserId = Authentication.getAuthenticatedUserId();
startActivityId = processInstance.getActivityId();
superProcessInstanceId = processInstance.getSuperExecution() != null ? processInstance.getSuperExecution().getProcessInstanceId() : null;
// Inherit tenant id (if applicable)
if (processInstance.getTenantId() != null) {
tenantId = processInstance.getTenantId();
}
}
05-10-2016 11:08 AM
05-15-2016 03:36 PM
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.