I'm trying to figure out how to implement a workflow so that a sensor task wait for external dag to complete, for only wait for a certain number of days. It's a daily job so I'd like a sensor job to wait for example 3 days, and on the forth day send out an email, and either waiting or do some other task.
Could someone please help to shed some light on how to achieve this? Also how do we communicate the "days counter" from one day to another? Many thanks for your help.