Workflow multi-value Field
Hi everyone,
I need your help with adjusting our workflow. We are using the notify-assignee-on-overdue workflow, which currently has a single-value assignee field. We want to change this field to a multi-value field so that multiple assignees can be added.
My question is: What adjustments need to be made in the workflow so that all assignees receive a notification when a task is overdue?
I look forward to your suggestions and experiences!
I have updated the script with usersToNotify
and multi: true
. However, I am encountering the following debug messages:
workflow_user_892753348 27 Feb. 2025 10:22
User object:,[{"$$type": " User", "login": "Mr_Test"}]
workflow_user_892753348 27 Feb. 2025 10:22
User notify function not available for:,[{"$$type": " User", "login": "Mr_Test"}]
workflow_user_892753348 27 Feb. 2025 10:22
User details:,{}
Thank you in advance!
Best regards,
Mark
Please sign in to leave a comment.
Hi!
I'm Sergey from the YouTrack team.
The default due date workflow only works with the single-value assignee field. Multi-value fields store data in a set. Hence, you should adjust you workflow to use set's properties and methods to access values in a multi-value field. See the example of the updated 'notify-assignee-on-overdue' rule below.
Thank you Sergey Merzlov