05-06-2015 09:18 AM
st
that is to be executed for a given collection of java beans and a following user task ut
.st
is marked as async="true"
.jd
that does some work with a bean from the collection andprogress
that SHOULD be update by each jd
call with the progress of processing the bean collection (i.e. nrOfCompletedInstances/nrOfInstances
) and that SHOULD be accessible from "outside" of jd
execution.progress
within jd
works fine by
int completed = (int) execution.getVariable("nrOfCompletedInstances") + 1;
int total = (int) execution.getVariable("nrOfInstances");
float progress = (float) completed / (float) total;
execution.setVariable("progress", progress)
progress
during process execution by
getProcessEngine().getRuntimeService().getVariable(processInstanceId, "progress");
jd
.05-07-2015 09:16 AM
05-08-2015 01:04 PM
05-13-2015 08:43 AM
05-13-2015 08:56 AM
05-18-2015 11:03 AM
05-18-2015 02:58 PM
05-26-2015 04:11 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.