Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
10671 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
8094
3
thg 4 24
2059
1
thg 9 23
1939
1
thg 5 23
1967
1
thg 12 23
4658