Preceding Rule: Activity starts only after X preceding rules are complete

  • 28 November 2008
  • 2 replies
  • 0 views

Badge

Hello All,

I am trying to configure a preceding rule such that an Activity starts only after a particular number of preceding activities are complete. e.g there are 10 activities with outcomes leading to 1 activities. I would like the destination activity to start only after 5 of the preceding activities have been completed.

 Thanks,

 Peter.

 


2 replies

Badge +7
Hello, I would use a K2 Datafield with integer value. After every client event you can use a server code event to increase this field (in the same activity). The preceding rule is quite simple  (xx >= 5). But perhaps there is a better method to do this.
Badge +11

Man_Anja's solution is a good one.  Just be sure not to place the increment code event in a activity with "Plan All at Once" advanced option.

Reply