Add TransitionHasDestineeIfIsSentExternal validator

This commit introduces a new validator to ensure that transitions marked as 'sent' have a designated external recipient. It includes related tests for scenarios with and without recipients and covers integration with the workflow context.
This commit is contained in:
2024-10-04 10:25:18 +02:00
parent 071c5e3c55
commit 7cd638c5fc
6 changed files with 286 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ notification:
workflow:
You must add at least one dest user or email: Indiquez au moins un destinataire ou une adresse email
The user in cc cannot be a dest user in the same workflow step: L'utilisateur en copie ne peut pas être présent dans les utilisateurs qui valideront la prochaine étape
transition_has_destinee_if_sent_external: Indiquez un destinataire de l'envoi externe
transition_destinee_not_necessary: Pour cette transition, vous ne pouvez pas indiquer de destinataires externes
rolling_date:
When fixed date is selected, you must provide a date: Indiquez la date fixe choisie