Multiple steps generated from singular "Work item field - Group" step are not put in a parallel group

Description

Related to


If multiple group picker field is used to generate steps with Work item field - Group step, the group steps are put one after another, not in parallel group.

For comparison, if multiple user picker field is used in Work item field - User step, created steps are put in a parallel group.


Change

  • Groups from a multi-group work item field now run in one parallel group, like users from a multi-user field, both when the step starts with the approval and when its turn comes. All groups must approve, and one rejection rejects the group.

  • If the field step is already inside a parallel group of the definition, the groups join that group and follow its rules.

  • The parallel group is named after the field: "Groups from <field>". With a single group the step stays a normal step.

Decisions

  • Emails from one Work item field - Email step also run in one parallel group, named "Emails from <field>".

  • If Skip when empty leaves only one group, it is a normal step.

  • Each Work item field - Group or Email step forms its own parallel group: two consecutive steps on the same field (for example a notification to the groups, then their approval) stay two stages. Users, groups and emails taken from the same field (for example a table in the description) also stay separate stages.

Fixes included

  1. Work item field - Email: several emails from one field run in one parallel group instead of one after another.

  2. Work item field - Group: when Skip when empty is off, the app no longer checks each group's members at approval start.

  3. Rovo's explanation of the remaining path names parallel groups the same way as the approval panel; groups built from a field are no longer called "Parallel group" plus a long number.

  4. A Work item field - Group step that starts when its turn comes now respects users excluded in the description table: a group whose only members are excluded is skipped when Skip when empty is on, and excluded users cannot approve for the group.

  5. Two user steps reading one multi-user field run as separate parallel stages, also when the field is updated after the start.

  6. The customer portal shows "Failed" for an automatic parallel group with a rejection.

  7. When a dynamic user field changes, the "added" or "removed" email links to the open step of that field step, not to an already decided step on the same field.

Manual tester notes

  • Create a multi-group picker field, set two groups on a work item, and add a Work item field - Group step with that field (not in a parallel group). Start the approval: both groups are in one parallel group "Groups from <field>" and both can vote at once.

  • Approve as a member of one group: the approval stays in progress. Approve as a member of the other: the approval completes. In a new approval, reject in one group: the approval is rejected.

  • Repeat with the step set to start when its turn comes, placed after another approver: once that approver approves, both groups become active together.

  • Leave only one group in the field: the step shows as a normal group step.

  • Add two Work item field - Group steps on the same field, one after the other (for example Notify, then Approval): they show as two separate parallel groups, and the second starts only after the first is done.

  • Work item field - Email step with two email addresses in the field: both appear in one parallel group "Emails from <field>".

  • Put the Work item field - Group step inside a parallel group with a custom rule (for example 1 to pass): both groups appear inside that group, under its name and rule.

  • Ask Rovo to explain an approval whose next stage is such a group: it calls the group "Groups from <field>".

  • Description table listing a group and an excluded user who is that group's only member, with the step starting when its turn comes and Skip when empty on: the group is skipped. If the group has other members, the excluded user cannot approve for it.

  • Two user steps on the same multi-user field with dynamic updates on: change the field while the second step is active; the first stage stays unchanged and the second doesn't wait for the first stage's approvers.

  • Reject in an automatic email or user group in the JSM portal: the group header shows "Failed".

  • Two user steps with dynamic updates on the same user field: a person approves in the first step; while the second step is open, remove that person from the field (or add them again): the email link opens the second step.