Set dossier intermediary
Business goal​
Sets an intermediary FSP on a dossier. The intermediary to link is resolved by matching the configured
financialSpIdentifier against the identifiers of the intermediaries that are available for the
dossier's FSP.
Configuration​
- Add the action
SetDossierIntermediary. - Link this action to an appropriate event.
Behaviour​
- The action looks up the intermediaries available for the dossier's FSP and selects the one
whose identifier matches
financialSpIdentifieraccording to the configuredmatchType:EXACT– the identifier equalsfinancialSpIdentifier(case-insensitive).SUBSTRING– the identifier containsfinancialSpIdentifier(case-insensitive).REGEX– the identifier matchesfinancialSpIdentifieras a regular expression (case-sensitive).
financialSpIdentifiersupports the{{fspIdentifier}}placeholder, which is replaced by the identifier of the fsp the action runs on before matching. This lets the same config select each fsp's own intermediary (e.g.{{fspIdentifier}}-data-classificationwithEXACTresolves tomy-fsp-data-classificationon themy-fspfsp), which is the recommended way to disambiguate when several fsps expose similarly named intermediaries. It is intended forEXACT/SUBSTRING; withREGEXthe raw pattern (including the placeholder) must itself be a valid regular expression.- Exactly one available intermediary must match. If no available intermediary matches, or if more than
one matches, the action fails (nothing is changed). Make sure
financialSpIdentifierandmatchTypeare specific enough to resolve to a single intermediary. - If no intermediary is linked yet, the matched intermediary is created on the dossier.
- If a different intermediary is already linked, its pending information exchanges are cancelled and the link is updated to the matched intermediary.
- If the matched intermediary is already linked, the action does nothing.
- When an
associatedPartyFilteris configured, the action only runs when at least one associated party of the dossier matches the filter.