LielA
03/15/2024, 5:44 PMWill Raphaelson
03/15/2024, 5:45 PMWill Raphaelson
03/15/2024, 5:45 PMWill Raphaelson
03/15/2024, 5:46 PMLielA
03/15/2024, 5:52 PMWill Raphaelson
03/15/2024, 6:04 PMWill Raphaelson
03/15/2024, 6:04 PMLielA
03/15/2024, 6:15 PMWill Raphaelson
03/15/2024, 6:17 PMLielA
03/15/2024, 6:21 PMWill Raphaelson
03/15/2024, 6:33 PMLielA
03/15/2024, 6:37 PMLielA
03/15/2024, 8:32 PMWill Raphaelson
03/15/2024, 8:44 PMLielA
03/15/2024, 8:47 PMWill Raphaelson
03/15/2024, 8:51 PMemit_event(
{"event": "my-custom-flow-run-event"}
"resource": prefect.runtime.flow_run_id
payload{ all my parameters and stuff
}
)
Then, trigger your automation based on that event, and in the run deployment action, you can pass values from the triggering event into that action with jinja syntax, so the parameter of the flow run you're creating could have like {{ event.payload.paravalue }}. The one hang up is that the input parameters of the new flow need to be strings.Will Raphaelson
03/15/2024, 8:53 PMLielA
03/15/2024, 8:56 PMWill Raphaelson
03/15/2024, 8:57 PMLielA
03/15/2024, 8:58 PM