How to define due date only during work day and trigger mail of over due?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2021 12:28 AM
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2021 05:34 PM
You should use script task before user task, in script task do calculation for dueDateValue only during work day and create proces variable. You can create proces variable used in script task expresion: execution.setVariable('dueDateValue', dueDateValue).
This process variable dueDateValue you can put on boundary timer on user task, and boundary timer link with activiti mail component or link with script task send mail through rest service.
