Set due date in Bonita 6.2.1


Hi all, How can I set time "due date" for a human task (Daily: begin 7am to 17pm everyday and without weekends) in 6.2.1? (steps?) Help me! Thank you so much,


Submitted by Sean McP on Wed, 10/22/2014 - 09:16

I take it you mean programatically? Manually you do it through the admin user as per the other post.

This is relatively easy to do with just a few lines of code, however, I have a different question for you. What are you really trying to determine?

You say due date but with time and not weekends...these really are constraints but what is the "due" date?

For example if I send a HT out on Monday - is the due date Friday (this week) or Monday of next week? Beginning of day or end of day?

Much better to think this HT will take a DURATION of 5 working days and then compute out the due date +/- the end/start of day and use setDueDate to the new date of the task...


No answers yet.