08-27-2014 08:20 AM
<startEvent id="request" activiti:initiator="initiator" />
The authenticated user must be set with the method BEFORE the process instance is started,
try {
identityService.setAuthenticatedUserId("bono");
runtimeService.startProcessInstanceByKey("someProcessKey");
} finally {
identityService.setAuthenticatedUserId(null);
}
C:\Users\upf>curl -uX:X -X POST http://XXX:8989/activiti-rest/service/runtime/process-instances –header "Content-Type:application/json" -d @x
{
"processDefinitionKey":"XWorkflow",
"variables": [
{
"name":"priceDate",
"value":""
}
]
}
08-31-2014 04:50 AM
07-15-2015 02:30 AM
09-01-2014 09:29 AM
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.