跳至內容
選單
此問題已被標幟
1 回覆
10654 瀏覽次數

I created an automated action that changes the color of a task to red when the task is overdue using the time trigger. Problem is when I change the deadline after the color of the task is changed, the task still is red.

How can I create an automated action that changes the color of a task to white when the deadline is changed? Which trigger can I use for that?

頭像
捨棄
最佳答案

You can use an additional Automated Action:

  • Create a new Filter with domain [('date_deadline','>',time.strftime('%Y-%m-%d'))]
  • Put this filter into field After Update Filter
  • The create and assign a new Server action which resets the deadline

You can solve this also by using only one Server action where you check the deadline and set the color accordingly.

頭像
捨棄
作者

Thank you for the answer Andreas. I did go for the second approach and created a server action which changes the color according to the deadline.

相關帖文 回覆 瀏覽次數 活動
1
3月 15
8064
3
4月 24
2036
1
9月 23
1929
1
5月 23
1957
1
12月 23
4651