Article Details
Id:12734
Product:finPOWER Connect
Type:NEW
Version:2.02.05
Opened:19/03/2015
Closed:25/03/2015
Released:26/03/2015
Job: J015131
High Importance

Workflows; Version 2; 'Skip to Item Group' outcome functionality changed

The functionality of the 'Skip to Item Group' outcome for Workflow Items has changed for Version 2 type Workflows.

The original functionality worked as per Version 1 type Workflows (which remain unchanged):

  1. Complete the item from which the 'Skip to Item Group' outcome was being actioned
  2. Skip all remaining items in the Current Item Group
  3. Flag the Current Item Group as 'Skipped' (providing not actioning an Item Group)
  4. Add a new Item Group to the END of the Workflow

The above behaviour has been changed for Version 2 type Workflows since it only works in a limited number of scenarios; mainly, when the Workflow does not contain any Item Groups after the Current Item Group.

The new functionality works as follows, in all scenarios:

  1. Complete the item from which the 'Skip to Item Group' outcome was being actioned
  2. Skip all remaining items in the Current Item Group
  3. Flag the Current Item Group as 'Skipped' (providing not actioning an Item Group)

The above steps are as per Version 1 functionality. The following steps are the new behaviour:

  1. If there is an Item Group in the Workflow that matches the Item Group Id to skip to (the Item's 'Original' Item Id is used) then:
    1. Skip all Item Groups in between the Item Group that has just been skipped/ actioned and the matched Item Group.
  2. Otherwise, if no Item Group with this Id is found:
    1. Add a new Item Group AFTER the Item Group that has just been skipped.
    2. Do not skip any other Item Groups

In both situations, the Item Group being skipped to will always become the new Current Item Group.