Hagai Arad
09/29/2020, 2:29 PMJenny
09/29/2020, 3:07 PMHagai Arad
09/29/2020, 4:06 PMJenny
09/29/2020, 4:33 PMfrom prefect.tasks.prefect.flow_run import FlowRunTask
from prefect import task, Flow, Parameter, prefect
kickoff_task = FlowRunTask(project_name="Jenny", flow_name="Pause:Resume", run_name="triggered_by_flowName")
@task
kickoff2(details):
logger = prefect.context.get("logger")
<http://logger.info|logger.info>(details)
with Flow(name='flowName') as flow:
kickoff2(kickoff_task)
It's not clickable etc but that should log the flow run id of the flow run you kick off (which you can enter in the search bar to get details of)Hagai Arad
09/30/2020, 5:38 AMAnna Geller (old account)
10/03/2020, 1:59 PM