I’m working on a slack run failure sensor. Unfortu...
# ask-community
I’m working on a slack run failure sensor. Unfortunately, there is a backlog of failed runs it is going through from the past few weeks. It would be nice for the error message to show the date the job kicked off or failed - is this data available in the RunFailureSensorContext?
🤖 1
Hi Steven, thanks for the question. We need to make this info more accessible but I think this snippet should work as a temporary solution:
Copy code
run_record = context.instance.get_run_records(
run_started_time = run_record.create_timestamp
This works great - thank you 🙂 dagpurr