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 (111363101) | 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.
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=187581

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Jun 12 '12, 10:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 https://jazz.net/library/article/634 to get started.

Comments
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.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.