https://dagster.io/ logo
#ask-community
Title
# ask-community
p

Piotr Danielczyk

05/23/2023, 12:02 PM
Hi all. I have configured a sensor using
@run_status_sensor
that launches job
B
after job
A
finished running with
DagsterRunStatus.SUCCESS
. Is it possible to pass some data from job
A
to job
B
in this case? More specifically, I would like to pass output of a
@graph
that is in job
A
. I am aware that some data can be retrieved in the sensor using
context.dagster_run
, such as name of job `A`(
context.dagster_run.job_name
). However, I cannot find any info in documentation if some value can be added to
context.dagster_run
. Thank you!
o

owen

05/23/2023, 6:40 PM
hi @Piotr Danielczyk! I wrote this up into a github discussion and provided an answer there
p

Piotr Danielczyk

05/24/2023, 6:53 AM
Thanks @owen, that's (more or less) what I ended up doing - I hoped there is a simpler solution out of the box. Thanks for your help and providing the code!
blob salute 1
5 Views