You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/building/reference/app-settings/_index.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ An outgoing SMS message configuration has the following fields:
68
68
|-------|---------|----------|
69
69
|`translation_key`|The translation key of the message to send out. Available in 2.15+.|yes|
70
70
|`messages`| (**deprecated**) Array of message objects, each with `content` and `locale` properties. From 2.15 on use `translation_key` instead.|no|
71
-
|`recipient`|Recipient of the message.|no|
71
+
|`recipient`|Specifies the intended recipient of the message. As of 5.1.0, an array of multiple recipients may be provided, in which case the first existing recipient will be resolved. |no|
72
72
73
73
### `recipient` values and resolutions:
74
74
@@ -88,8 +88,9 @@ An outgoing SMS message configuration has the following fields:
88
88
|*valid phone number*| requested phone number |
89
89
90
90
> [!NOTE]
91
-
> - if `recipient` resolution does not yield a phone number, it will default to submitter's phone number
92
-
> - if there is no submitter phone number available, the actual `recipient` property value will be used
91
+
> - when recipient is an array, the first resolved recipient from the array will be selected.
92
+
> - if `recipient` resolution does not yield a phone number, it will default to submitter's phone number. This behavior can be changed with [default_to_sender]({{% ref "building/reference/app-settings/sms/#app_settingsjson-sms" %}}) paramter.
93
+
> - if there is no submitter phone number available or `default_to_sender` is `false`, the actual `recipient` property value will be used. When recipient is an array, first field of an array will be used.
93
94
> - when mapping a contact phone number, subject (`patient` and/or `place`) lineage and `linked_docs` take precedence over `submitter` lineage and `linked_docs`.
94
95
> - except for `link:<tag>`, phone numbers are resolved to the primary contacts of the requested places. `linked_docs` hydration is shallow, so the primary contact of the linked doc will not be available.
0 commit comments