Tri
11/05/2024, 5:17 PMMarvin
11/05/2024, 5:18 PMTri
11/05/2024, 5:21 PMMarvin
11/05/2024, 5:21 PMTri
11/05/2024, 5:36 PMMarvin
11/05/2024, 5:36 PMEvent
and Trigger
capabilities, which can be detailed further in the Prefect's documentation on custom triggers.
2. Conditional Logic in Flows:
You can utilize conditional logic within Job B to check whether Job A has run and completed successfully on the required days. This is particularly useful if Job A's completion outputs a specific file or status that Job B must verify before executing.
3. Dependency Management through External Systems:
If Prefect's built-in support isn't quite enough, using an external state or database check could help. For example, Job A could set a flag in a database that Job B checks as part of its condition to run.
Unfortunately, Prefect's UI does not currently provide a visual representation of dependencies between independently scheduled flows unless they are nested within the same parent flow.
For bugs or feature requests, such as interpreting flow dependencies or more intuitive scheduling capabilities, you might want to monitor Prefect's GitHub issues for any updates on these topics.
In any case, defining dependencies between flows across different schedules can often feel like trying to fit a square peg in a round hole, but clever use of Prefect's flexible architecture can yield effective solutions.