Skip to main content

Hi


After clicking the approve/decline button in my web page the k2 process should move from one activity to another.


Is there a way to intercept the moving of the process from one activity to another and return it to the original activity in case a condition is not filled?


is there an event in the k2 that is triggered upon leaving the current activity - onapproval -?


 

You can do this easily with line rules.  The client event wizards will automatically configure one line rule with each outcome, however, you can add even more line rules with complex evaluations.  For example, you could copy your 'Approve' line rule and modify it like this:


if Outcome = 'Approve And condition filled - attach this line to the next activity


if Outcome = 'Approve' and condition not filled, loop this line back to the original activity


David


Many thanks Great David...Many thanks

Reply