Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
10661 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Autor

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.

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
8074
3
dub 24
2052
1
zář 23
1931
1
kvě 23
1957
1
pro 23
4655