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

cancel
Showing results for 
Search instead for 
Did you mean: 
RadhikaNair
Member II

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

Any help or assistance is really appreciated

1 Reply
Damir-Kovacevic
Active Member

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

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.