It's all about the answers!

Ask a question

Making Mandatory a comment when a resource changes due date or actual date for any task in RTC

David Beange (11135699) | asked Jun 12 '12, 9:41 a.m.
When a resource changes with the Due date or Actual Date for any task how can we detect this in the process to then have a Condition possibly with a custom javascript to set a "true" flag that makes the entering of a comment Mandatory.

Would need to be able to detect only when it has change and not just the field is blank.

Enhancement 187581 is similar but is for detecting changes in Due Date for Birth reports.

One answer

permanent link
Ralph Schoon (62.7k33643) | answered Jun 12 '12, 10:08 a.m.
Hi David,

I don't think this can be done with Javascript. But I am not sure.

I assume you could use a scripted calculated value provider to calculate based on the due date. Not sure about the modified date. I am not sure if you can set boolean attributes from there, I never tried. You could try to then use a scripted condition and hook that up to the dynamically required attributes operational behavior. Not sure if that supports comments.

The other option is to create a custom precondition or followup action. See to get started.

David Beange commented Jun 12 '12, 11:23 a.m.

Hi, Thanks not stuck on needing to use Javascript but had used it for another condition I had check for when looking for specific values and then setting a field mandatory.

Your answer

Register or to post your answer.