The Notification component should be able to identify an email address and/or mobile number when the intended recipient of a notification is a person or organization.
The profile lookup should occur at the time when the notification is to be sent.
There should also be a lookup with the placement of the order in order to give feedback about the likely outcome.
It should be unnecessary to do a lookup if the notification already have a target with an address.
The lookup is done only if the Notification.PartyReference is filled in with an (SSN - National Identity Number) or organization number.
Other issues will cover lookup based on other values and properties like InstanceId.
Workflows
The work is split into workflows. Completing a single workflow should add new value or introduce a new feature in Altinn Notifications. The workflows are placed in the order of development and functionality that is reused by a later workflow only needs to be specified once by the workflow that first implements the functionality.
Send notification to person identified with national identity number
Altinn's responsibility:
Lookup contact point in Altinn's copy of KRR.
Consider reservation in KRR
Recipient has no reservations => send notification
Recipient has reservation & app owner has bypassed => send notifications
Recipient has reservation & app owner has NOT bypassed => return error message to application owner
App owner responsibility:
Provide national identity number of recipient
State whether sending notification should bypass reservations in KRR
Workflow: Support notification to organization by organization number with service affiliation
Altinn's responsibility:
Lookup organization contact point in Altinn's copy of KoFuVi
Lookup user contact point in Altinn Profil (din kontaktinformasjon for virksomhet)
contact point is only retrieved for user's that satisfy the following:
User can represent the organization
User has registered a personal contact point for the organization in Altinn
User has access to the affiliated service through a role, access group or direct delegation
User has no limitations on which services it should be notified about OR user has whitelisted notifications related to the affiliated service
App owner responsibility:
Provide organization number of recipient
Provide resourceId for affiliated service
### Tasks
- [ ] https://github.com/Altinn/altinn-notifications/issues/470
- [ ] https://github.com/Altinn/altinn-notifications/issues/449
- [ ] https://github.com/Altinn/altinn-notifications/issues/504
- [ ] #451
- [ ] #472
- [ ] https://github.com/Altinn/altinn-notifications/issues/508
- [ ] https://github.com/Altinn/altinn-notifications/issues/510
- [ ] https://github.com/Altinn/altinn-notifications/issues/512
- [x] Do we send notifications to the official contact address if there is a service affiliation with role requirements? YES
Workflow: Support notification to person identified by national identity number with service affiliation
Altinn's responsibility:
Altinn will generate notifications to a person ragardless of resource affiliation. There are currently no feature in Altinn to send notifications to somone else when the recipient of a notification is a person.
Consider reservation in KRR for each recipient
Recipient has no reservations => send notification
Recipient has reservation & app owner has bypassed => send notifications
Recipient has reservation & app owner has NOT bypassed => return error message to application owner
App owner responsibility:
Provide national identity number of recipient
Provide appId for affiliated service
State whether or not notification should bypass reservations in KRR
Description
The Notification component should be able to identify an email address and/or mobile number when the intended recipient of a notification is a person or organization.
Other issues will cover lookup based on other values and properties like InstanceId.
Workflows
The work is split into workflows. Completing a single workflow should add new value or introduce a new feature in Altinn Notifications. The workflows are placed in the order of development and functionality that is reused by a later workflow only needs to be specified once by the workflow that first implements the functionality.
Send notification to person identified with national identity number
Altinn's responsibility:
App owner responsibility:
Support notification to organization by organization number without service affiliation
Altinn's responsibility:
- Lookup user contact point in Altinn Profil (din kontaktinformasjon for virksomhet)App owner responsibility:
Requirements
Questions
Authorization of access to the resource that the notification is about
read
)Workflow: Support notification to organization by organization number with service affiliation
Altinn's responsibility:
App owner responsibility:
Workflow: Support notification to person identified by national identity number with service affiliation
Altinn's responsibility: Altinn will generate notifications to a person ragardless of resource affiliation. There are currently no feature in Altinn to send notifications to somone else when the recipient of a notification is a person.
App owner responsibility: