Is there a way to see the trigger for a flow in th...
# ask-metaflow
s
Is there a way to see the trigger for a flow in the Metaflow UI when I run a flow with the
--trigger …
?
1
a
is this when you are using the local development mode for event triggering? if so - the contents of the event (the trigger payload) are mapped to the parameters of the flow and you should be able to see those parameter values in the metaflow ui
s
When using
--trigger
I don’t see the Parameters in the Metaflow UI (pic 1). I only see it when the flow is triggered from Argo Workflows under Triggering Event header (pic 2).
a
does your flow have any parameters specified?
if not, then there isn't a way to visualize the payload in
--trigger
today
a workaround would be to print it in the start step
s
No my flow does not have any parameters. If I add a dummy parameter, will the triggering event be visible in the UI?
a
the triggering event wouldn't be - because the actual event is being spoofed here
but we map the contents of the event (whether spoofed or not) into parameters so you would be able to see the values that would be mapped to the parameters
s
so you mean the parameters of my triggering event will be visible in the parameters of the triggered flow? But the triggering event itself will not be because it is spoofed. Correct?
I think it will still be helpful to see the triggering event even if it is spoofed and mention that it was spoofed.
a
yes - currently even for the argo triggers - the entire payload is not displayed in the UI since it can be arbitrarily large. i will open an issue to track this
s
thank you!