Hi.
Is it possible to send the due date of a task by email?
Version 10.4
Task:
Email:
Hi.
Is it possible to send the due date of a task by email?
Version 10.4
Task:
Email:
I can't speak for 10.4, but the option is in version 11.
I can confirm this token does not exist in Laserfiche 10.4. You have 3 options:
function calcNextWorkingDay(fromDate, days) { const count = 0; const toDate = new Date(fromDate); while (count < days) { toDate.setDate(toDate.getDate() + 1); if (toDate.getDay() != 0 && toDate.getDay() != 6) // Skip weekends count++; } return toDate; }
If you have a long running workflow in between the prior task and this new task you will have to calculate the date in that workflow prior to its completion.
You can use the date calculator in a loop similar to the JS above to provide the next date as a token.
I can confirm this token does not exist in Laserfiche 10.4. You have 3 options:
function calcNextWorkingDay(fromDate, days) { const count = 0; const toDate = new Date(fromDate); while (count < days) { toDate.setDate(toDate.getDate() + 1); if (toDate.getDay() != 0 && toDate.getDay() != 6) // Skip weekends count++; } return toDate; }
If you have a long running workflow in between the prior task and this new task you will have to calculate the date in that workflow prior to its completion.
You can use the date calculator in a loop similar to the JS above to provide the next date as a token.