Hi,
we have a human task (violet frame) in a multi-instance step like this:
There is an independent function to modify the due date of this human task. That function sends a message with the new due date which is received by the
intermediate message event in red frame. The script attached to this event sets the triggering time of
timer in blue frame using the
rescheduleTimer system function (thanks to Atanu for the solution for this).
But
the task due date remains the original. I want to modify the due date of the human task (just to show the new value in Process Inspector or in Process Portal), but I don't know how.
The human task is accessible by calling the tw.system.step in its pre-assignment, but step do not have due date. The step has a task property (which has due date), but it is null. Modifying the variable used to set the task due date has no effect (Priority setting / Due in).
So how can we modify the due date of the task?
Thx,
------------------------------
Laszlo
------------------------------