modery / PowerDocu

Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps
MIT License
440 stars 73 forks source link

Detailed Flow Diagram stops before the end of the Flow #60

Closed Marekai closed 1 year ago

Marekai commented 1 year ago

Describe the bug Detailed Flow Diagram stops before the end of the Flow and does not show succeeding actions. v 1.0

To Reproduce Reproducable with my Flow

Expected behavior Detailed Flow Diagram shows all the actions of the Flow

Screenshots Screenshot added

Flow Used

Can't add the Flow but availabe to discuss it in person. Screenshot 2022-11-30 at 13 32 18

modery commented 1 year ago

Hi @Marekai , is Condition2 (and the subsequent Yes/No branches) the last step in the Flow, or are there also other actions that follow?

Marekai commented 1 year ago

Hi @modery, yes as in screenshot, the frame "MISSING" is the last step in the Flow.

modery commented 1 year ago

I think I was able to reproduce the problem. Can you confirm that all actions are documented in the Word file, and it's only the chart that is missing some?

modery commented 1 year ago

Chart issue has been fixed. Additionally, I am now also showing the "Run After Conditions" on the chart via the connecting edges, so that it matches what we see in Power Automate. Will include this fix in the next release (sometime this month)

image image

Marekai commented 1 year ago

Hi, thank you very much! However i discovered a new case where Detailed Flow Diagram is not output at all, for a smaller Flow than the one in the issue. Screenshot of the Flow attached.

It stops after outputting the schema Properties for the Action Parse JSON (4th from the bottom), so 1) it does not start Detailed Flow Diagram. 2) Also not all Actions are documented, Parse JSON is the last one.

Not sure if this is resolved too or a new issue. Total of 18 Actions (2 are inside the last Apply to each)

Screenshot 2022-12-12 at 17 38 47

Marekai commented 1 year ago

I think I was able to reproduce the problem. Can you confirm that all actions are documented in the Word file, and it's only the chart that is missing some?

Yes for that one all actions are documented indeed. Only the Detailed Flow Diagramm is missing the last ones as in screenshot.

modery commented 1 year ago

Latest release is now available: https://github.com/modery/PowerDocu/releases/tag/v-1.1.0

Can you check if both issues have been resolved?