01-17-2014 09:28 AM
01-20-2014 02:33 AM
private String startProcessAsUser(String processId, String userId) {
try {
identityService.setAuthenticatedUserId(userId);
return runtimeService.startProcessInstanceByKey(processId).getId();
}
finally {
identityService.setAuthenticatedUserId(null);
}
}
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.