Skip to content

Listing flow runs if flow run took a long time (7 days+) - incorrect format for datagridview #8

Description

@cosmic-tiger

Describe the bug
A load of flow instances had been running for a long time , ie over 7 days (there was an issue, got stuck). I cancelled them all using Flow Admin.
When I then selected "cancelled" from the Runs button, I got , error messagebox for for every row. As it initally loads 10 rows, I will get 10 pop ups messages as each row is loaded - i had to click on "ok" 10 times for it to continue to the next row. The issue is to do with the duration field in grid, so I'm going to guess it is because the duration exceeded 24 hours (eg 2d 3hr).

To Reproduce
Steps to reproduce the behavior:

  1. Create a cloud flow that will loop forever or wait or do nothing forever.
  2. Schedule to run every 1 min
  3. Publish flow and turn it on.
  4. Wait 15 min (should now be around 15 instances running)
  5. turn off flow - instances should continue to run.
  6. Wait over 7 days
  7. Use FLOW ADMIN - click Cancel to cancel all runs.
  8. After all have been cancelled, click "Cancelled" from the Runs dropdown button
  9. An error dialog will show 10 times, as each row is loaded

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
flowadminerrmsg

XrmToolBox Version
1.2023.12.68

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions