Page 1 of 1

Determine which transition workflow took

PostPosted:Tue Dec 20, 2016 11:38 pm
by alexwgordon
Hi all,

Is there a way to determine which transition the node leaves through?

I want to run an actionhandler that writes a comment (or uploads a file) to the workflow and based on which transition it took, it writes a different comment (or doesn't upload the file).


Thanks!

Re: Determine which transition workflow took

PostPosted:Tue Dec 20, 2016 11:55 pm
by alexwgordon
Alright, I realized, I could just make duplicate copies of the two actionhandlers that are basically identical except for the lines with or without the comment and that solves it. Not the most elegant, but it works.

Re: Determine which transition workflow took

PostPosted:Thu Dec 22, 2016 12:21 pm
by jllort
I do not know if this url will help you in some manner https://docs.openkm.com/kcenter/view/wf ... -node.html