Open allisonletts opened 9 months ago
Oh right... This is a great point. Thank you. Are you able to provide a flow XML that causes it to fail? I had to drop the version of mermaid down as it was complaining about the number of elements, and I hope this had fixed it.
Hi @toddhalfpenny I have the same issue. This flow is not rendered: `<?xml version="1.0" encoding="UTF-8"?>
`
Here is the output: `flowchart TB START(( START )) Ass_Contacts("⚌ Assignment Assign Contacts"):::assignments Ass_EventContacts("⚌ Assignment Assign Contacts"):::assignments Ass_UpdateAccounts("⚌ Assignment Update Accounts"):::assignments Ass_UpdateContacts("⚌ Assignment Update Contacts"):::assignments Dec_AccountEmpty{{"⇋ Decision Account Empty"}}:::decisions Dec_RelationType{{"⇋ Decision What type of relations?"}}:::decisions Dec_RTAccount{{"⇋ Decision Account RecordType exist?"}}:::decisions Loop_Accounts("↻ Loop Loop through Accounts"):::loops Loop_Contacts("↻ Loop Loop through Contacts"):::loops Loop_EventRelations("↻ Loop Loop through Event Relations"):::loops Loop_TaskRelations("↻ Loop Loop through Task Relations"):::loops Get_Accounts("🔍 Get Records Get Accounts"):::recordLookups Get_Contacts("🔍 Get Records Get Contacts"):::recordLookups Get_RecordType("🔍 Get Records Get RecordType"):::recordLookups END(( END ))
Ass_Contacts --> Loop_TaskRelations Ass_EventContacts --> Loop_EventRelations Ass_UpdateAccounts --> Loop_Accounts Ass_UpdateContacts --> Loop_Contacts Dec_AccountEmpty --> |No| Get_RecordType Dec_AccountEmpty --> |Ys (Default)| END Dec_RelationType --> |Is Task Relation| Loop_TaskRelations Dec_RelationType --> |is Event Relation| Loop_EventRelations Dec_RelationType --> |No relation (Default)| END Dec_RTAccount --> |Yes| Get_Accounts Dec_RTAccount --> |No (Default)| END Loop_Accounts --> Ass_UpdateAccounts Loop_Accounts ---> END Loop_Contacts --> Ass_UpdateContacts Loop_Contacts ---> Dec_AccountEmpty Loop_EventRelations --> Ass_EventContacts Loop_EventRelations ---> Get_Contacts Loop_TaskRelations --> Ass_Contacts Loop_TaskRelations ---> Get_Contacts Get_Accounts --> Loop_Accounts Get_Contacts --> Loop_Contacts Get_RecordType --> Dec_RTAccount START(( START )) --> Dec_RelationType
classDef actionCalls fill:#344568,color:white classDef assignments fill:#F97924,color:white classDef collectionProcessors fill:#DD7A00,color:white classDef customErrors fill:#032D60,color:white classDef decisions fill:#DD7A00,color:white classDef loops fill:#E07D1C,color:undefined classDef recordCreates fill:#F9548A,color:white classDef recordLookups fill:#F9548A,color:white classDef recordUpdates fill:#F9548A,color:white classDef screens fill:#1B96FF,color:white classDef subflows fill:#032D60,color:white
`
When I have bigger flows, sometimes the visualiser seems not to run - but I'm just guessing that it's failed. Can the extension throw an error or information message if it's not successful?
As a first step, I'd love some sort of guidelines about when flows won't be able to render.