Dear,
Currently there is no way to clear the flow history,
Even if the flow is already deleted you will see i.e. the failures.
In production environments it is better to have a way to clean-up the failure list to have a clear view on what is going on.
It would also be really usefull to be able to query the flow history using date/time, flow, etc. as filter values.
Kind regards,
MehrdadG
Hello, as called out in the comments, this is an import audit feature of the system so that all activities that a Flow has taken are fully audited. Even if you are just testing something out, that test flow can still have real side-effects that must remain in an audit for the 30 days that history is currently retained for.
That being said, it does make sense to allow certain runs to be marked as "Resubmitted" so that you can keep track, after a failure, if something has been rerun. Likewise, querying the run history is a good idea as well.