Why is this project rule running on EVERY task despite having "Check If" set?

We have a rule set up to behave just like what you see in this link: How to link the due date of a specific task into a custom field of a portfolio - #6 by Tetsuo_Kawakami

The issue we are having is that the rule is set to check if the task has a Custom Field set to a specific value before executing the rule. In all the projects that have a copy of this rule functioning, there’s only ONE task in the whole project that has that custom field value set. However, the rule executes on ALL tasks, and it’s causing considerable “task history” junk update overflows on ALL the tasks and it’s really becoming problematic.

What are we doing wrong here? I’m posting a pic of the rule along with the details on the “Check If” condition and the ‘Do This’ action.

Again, this rule is running on every task in the project when due date is changed, NOT simply the ones that have that value set.

It also seems like it’s running once daily, and then also running any time someone changes the due date, even though these tasks do not even have a value in that custom field.

We very much need this rule working, but we very much need it not to be doing this to all the tasks that lack that custom field value. What are we doing wrong?




Hi @Matt5,

If I’m understanding that you set up your overall system per the other thread you linked to, then I don’t think those log entries are related to the rule you mention here. Rather, I think they are the result of the formula you’ve defined for the “DueDate-Today” custom field. That formula changes the value of that custom field once per day, and that’s the change which is getting logged. Does that make sense?

2 Likes

Hi! @Matt5

Could you try this post(How to link the due date of a specific task into a custom field of a portfolio - #17 by Tetsuo_Kawakami).
function today() results your problem.
today() runs everyday, so task history is added every day.

@Phil_Seeman
Thanks for your exlpaination.

2 Likes

Gents, thank you for clarifying that.

Is there any way to set this formula so that it doesn’t run on every task in the project? Right now I am not aware of any way to avoid that since all tasks within a project get the same custom fields.

Did you try this post?(How to link the due date of a specific task into a custom field of a portfolio - #17 by Tetsuo_Kawakami)

I suppose this post will help you because it avoids using today().

1 Like

My apologies, I see what you are getting at now. I do believe that post will correct this, thank you!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.