On Mon, Jun 18, 2012 at 01:20:28PM -0700, ddeng wrote:
>
> I also found there is a cancel method in Dashboard. But when I cancel a
> wokitem for alice, bob will still get the job.

Yes, that's right. And the on_cancel you placed on the parent 'sequence' will
not trigger since the expression that got cancelled is the alice participant
expression, not the sequence expression.


> So I am wondering.....What
> is the difference between cancel and proceed?

Dashboard#cancel(wfid_or_fei)

cancels a whole process instance (wfid) or only a branch of a process
instance (fei).

StorageParticipant#proceed(workitem)

will "unstore" the workitem and reply with it (and its potentially updated
fields) to the participant expression that emitted it. That usually makes the
flow resume.


Best regards,

--
John Mettraux - http://lambda.io/jmettraux

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to