In a workflow, is there a way to access task artifacts from within the run?
I have a job with a task TasksA, which is a dbt task that creates some artifacts. I want to store these artifacts, but the job artifacts seems to be saved in a location I cannot access?
So for now I have created a TaskB that takes in job.run_id as a parameter, uses the databricks cli to read job to get the tasks, then reads the task output which gives an artifact link, and then I download the artifacts from that link and save it to my catalog.
This feels like an overkill?? Is there a way that TaskB (within the same job as TaskA) can access the artifacts created from TaskA in an easier way than using the cli like that?
Any improvements to my current workflow is a win