I am trying to invoke two dynamic mapped tasks sequentially i.e fetch_work_retry needs to be invoked only after process_work is completed. Below is the code which I am using. With this fetch_work_retry gets invoked before process_work is complete. How can I make fetch_work_retry task triggered only after process_work is done?
data = process_work.partial().expand(job=fetch_work())
data2 = process_work_retry.expand(job=fetch_work_retry())
data >> data2 >> trigger_end