DK
07/21/2021, 9:58 PMwith Flow('Test 1') as flow:
print(f"""
flow name: {context.flow_name}
flow id: {context.flow_id}
flow run name: {context.flow_run_name}
flow_run_id: {context.flow_run_id}
""")
results in :
flow name: Test 1
flow id: Test 1
flow run name: bc5e286e-6268-43a8-aaaf-a5d03275917d
flow_run_id: c867f4ea-1599-4201-a8e0-886cadbe0e1e
It looks like the context variables are not entirely correct? Flow Name and Flow ID are both pulling the same field and I would expect Flow Run Name to pull something like 'violet-marmoset'.
Is there an actual issue here or am I using these incorrectly?Kevin Kho
flow.run()
or running with Cloud or Server? I think for flow.run, these are not set because it’s just a test so these are filled, but it should work when running with Cloud/ServerKevin Kho
DK
07/21/2021, 10:56 PMKevin Kho
DK
07/21/2021, 11:01 PM