evaluated outcomes

  • 9 December 2010
  • 1 reply
  • 0 views

Badge +1

Hi ,


I am having an infopath client integration activity. Which has approve and reject outcomes, I also need to add an outcome wherein if a field in the infopath is greater than x amount, I need the flow to be redirected to another user.


Is it possible to add this outcome without displaying it in the task action field ? 


1 reply

Userlevel 4
Badge +14

This can be done using line rules, refer to:


http://help.k2.com/en/k2blackpearluserguide.aspx?page=RTM_Reference_-_K2_Line_Rule_Introduction.html


http://help.k2.com/en/k2blackpearluserguide.aspx?page=RTM_Reference_-_K2_Line_Rule-Using_the_AddEdit_Rule_Dialog.html


You just need to get the logic right to allow the workflow to follow the path needed. In this scenario you will have to lines for let’s say approve one to the original user and the other to the redirected user. So with no line rule if the first activity is approved both these line will validate and be followed. This is where you do the validation on the line rule. Here you add the logic to validate is X is lager then validate this line and on the other validate the line if X is smaller. This way the original activity will only have one approve action and the line rule validates to follow one of the routes.


Hope this makes sense.


Vernon

Reply