toddhalfpenny / sfflowvisualiser-vscode

Salesforce Flow to PlantUML VS Code extension
ISC License
29 stars 5 forks source link

Bug on loop graph #8

Closed Manu2pace closed 9 months ago

Manu2pace commented 9 months ago

Hi thank you fo your great work. I tested your extension on a flow of mine and I have a nasty bug on the attached flow : maintenancePlan_tempsMoyenEntretien.flow-meta.xml.txt

it generate the following md :

X1_site --> loop_Sites_opp loop_Sites_opp --> X1_site loop_Sites_opp ---> END get_opportunity --> get_sites_opportunite get_sites_opportunite --> loop_Sites_opp update_maintenace_plan --> END START(( START )) --> get_opportunity

where it should generate this instead

X1_site --> loop_Sites_opp loop_Sites_opp --> X1_site loop_Sites_opp ---> update_maintenace_plan get_opportunity --> get_sites_opportunite get_sites_opportunite --> loop_Sites_opp update_maintenace_plan --> END START(( START )) --> get_opportunity

toddhalfpenny commented 9 months ago

Thanks @Manu2pace . Are you also able to share a screenshot of the Fow as seen in the Salesforce org, please?

Manu2pace commented 9 months ago

Here it is from Salesforce : Capture d’écran 2023-11-15 à 09 17 50

dans in VScode as it is generated in markdown + flow Capture d’écran 2023-11-15 à 09 16 02 and what it should be based on the flow

Capture d’écran 2023-11-15 à 09 15 40
toddhalfpenny commented 9 months ago

Ah amazing! Thank you

toddhalfpenny commented 9 months ago

Should be fixed in #11