Pending requests never disappears from this list. Some time
ago, I included this snippet into MyTasksRestlet to resolve
this:
Collection<TaskInstance> notDone =
getJbpmService().getTaskInstances(process.getId(), null,
null);
for (TaskInstance
task : notDone) {
if
(!task.hasEnded()) { <----- THIS IS THE ADDED LINE
Set<PooledActor> actors = task.getPooledActors();
StringBuilder names = new StringBuilder();
To let the widget show only the non-terminated tasks.
I hope this helps.
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/