Hello, guys and girls!I'm asking google about this the whole day, but the situation is sad…In standard Alfresco process definitions there are following code:if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
This checks the bpm_workflowDueDate parameter and, if it's set, sets the dueDate for the taskInstance variable.I looked for how to set taskInstance.dueDate to be DIFFERENT from bpm_workflowDueDate and there is no answer! Anywhere!I've tried various variants of how to do that, like:taskInstance.dueDate = bpm_workflowDueDate - 1;
ortaskInstance.dueDate.setDate(bpm_workflowDueDate.getDate() - 1);
ortaskInstance.dueDate.setDate(new Date(bpm_workflowDueDate) - 1);
ortaskInstance.dueDate = new Date();
or eventaskInstance.dueDate = new Date(bpm_workflowDueDate - 1);
Nothing works…How to do what I want?And, please, refer me to the specs where taskInstance variable defined…Thank you very much!