Nic
10/12/2023, 10:39 AMItamar Hartstein
10/12/2023, 11:47 AMJOB_ID as an environment variable to your dbt runs?Nic
10/12/2023, 12:34 PMjob_run_results but I'm not sure how to determine that its last run has been successful
For reference, the job is scheduled on dbt cloudNic
10/12/2023, 12:36 PMdbt_invocations + another table ? ideally, the output would be:
job_id | last_run_id | last_run_successfulItamar Hartstein
10/12/2023, 12:45 PMdbt_run_results with dbt_invocations by invocation_id
in dbt_run_results you have a status field which can be pass, fail or errorNic
10/12/2023, 1:10 PM