Field merge string array example

The following table shows the result of merging string values in arrays when there are multiple participants at a step.

  • The Workflow Properties columns show each field, its initial values, and the merge type.
  • The Step_1 columns show what the three users entered for each field.
  • The Step_2 column shows the contents of each field after the values have been merged.

See Merge types for a description of each merge type.

NOTE If there is only one participant, there is no merge, and the value entered by that participant will replace any initial value in an element.

Table 1. Workflow properties and their resulting values
Workflow Properties Step_1 Step_2  
Field and initial value Type User_A User_B User_C Resulting values
string_add = "X" Add "a" "b" "X" "Xab"

Values are concatenated. Discard User_C entry - same as initial value.

For a single participant (User_A), the value is "a".

string_append_blank = "" Append "a" "b" "X"

<blank> "a" "b" "X"

First element is blank (initial value).

NOTE For a single participant (User_A), the value of the field at Step_2 is "a"—the first element is not blank.

string_append_value = "X" Append "a" "b" "b" "X" "a" "b" "b"

All entries are shown.

NOTE For a single participant (User_A), the value of the field at Step_2 is "a".

string_append_nodup = "" AppendNoDup "a" "b" "b" <blank> "a" "b"

Discard User_C entry - same as User_B entry.

NOTE For a single participant (User_A), the value of the field at Step_2 is "a"—the first element is not blank.

string_default = "X" Default "a" "b" "c" "X"

No change from initial value.

NOTE For a single participant (User_A), the value of the field at Step_2 is "a".

string_override = "X"                                 "Y"                                 "Z" Override "a" no change "n" "b" "p" "q" "c" no change no change "c" "Y" "Z" Each entry overrides all elements of the array. User_C is the last entry.
string_override_entry = "X"                                            "Y"                                            "Z" Override entry "a" no change "n" "b" "p" "q" "c" no change no change "c" "p" "q" Each entry overrides only the changed elements.