Open SandGrainOne opened 5 months ago
Pending a suitable endpoint to surce data from (#589 #593 )
Updated the list of keywords we're going to support after the #604 analysis.
26.11.2024
During a meeting to assess our requirements, we made the following decisions:
$recipientName$
and $recipientNumber$
placeholders. Other keywords can be implemented in the future if required.Action point:
Description
We want the Notifications service to have solid support for having multiple independent recipients in a single order. This means the texts needs to have some basic support for personalization based on recipient. Like addressing the recipient by name.
There needs to be way for service owners to make smaller recipient specific adjustments to the content of notifications. The feature here should be a search and replace in texts
Keywords copied from Altinn 2 and adjusted for Altinn 3:
$recipientFirstName$
$recipientMiddleName$
$recipientLastName$
$recipientName$
$recipientNumber$
Example
A simple request with personalized texts:
There is a new specialized endpoint in Register that should provide what we need: register/api/v1/parties/nameslookup See issue: #593
Additional Information
The source of the keyword list above is inspired by Altinn 2 documentation: List of
Varselmakroer
. The list is curated down to a list of keywords actually being used in Altinn 2.Refinement
Tasks
$recipientEmail$
$recipientMobileNumber$
are actually in use before implementing supportAcceptance criteria