AnsweredAssumed Answered

CDI: Howto 'pause' an user task with flush of variables

Question asked by chris.joelly on May 20, 2012
Latest reply on May 27, 2012 by chris.joelly

on a JSF mask i use

<f:event type="preRenderView" listener="#{businessProcess.startTask(taskId, true)}" />
to start the user task and

<h:commandButton action="#{businessProcess.completeTask(true)}" value="Complete" />
to complete the user task.

I now want to add a button where the user is able to "pause" the user task and flush and store all process variables associated with the task. And if he come back later to this task he might add additional content and complete or pause the task again.

Is there something like …pauseTask()?