Closed DeMikey closed 8 months ago
Hi,
This is most likely caused by something else. It works fine for me.
Please try to copy the mermaid diagram and paste it on https://mermaid.live. This will tell you on which line the syntax error occurs.
Also, what parameters are you using? Are you showing TTS greetings? Sometimes TTS greetings include characters which cause syntax errors in mermaid and are not yet handled by the Optimize-DisplayName function.
Thanks
Hi
Thanks for your tip. I was able to find the error, it is a formatted external phone number:
(TransferCallToTarget) --> +41 79 xxx xx xx(External Number
+41 79 xxx xx xx)
So do you still get the error? the node Id (phone number before brackets shouldn't contain any white spaces... unless something has changed on how phone numbers are stored on AAs/CQs.
Try to enter the phone number again in TAC, save and rerun the script. If the error still persists, I can try to repro and fix it but I generated a diagram which forwards from AA to external number just last week and it worked fine.
Gesendet von Outlook für iOShttps://aka.ms/o0ukef
Von: DeMike @.> Gesendet: Sonntag, November 26, 2023 16:47 An: mozziemozz/M365CallFlowVisualizer @.> Cc: Martin Heusser @.>; Comment @.> Betreff: Re: [mozziemozz/M365CallFlowVisualizer] Syntax Error in marmaid if callqueue "Time out" time is set to 0 (Issue #40)
Hi Thanks for your tip. I was able to find the error, it is a formatted external phone number: (TransferCallToTarget) --> +41 79 xxx xx xx(External Number +41 79 xxx xx xx)
— Reply to this email directly, view it on GitHubhttps://github.com/mozziemozz/M365CallFlowVisualizer/issues/40#issuecomment-1826818144, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL7JQRGHXPBXIOM372BSKRDYGNQBFAVCNFSM6AAAAAA7WKWK6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHAYTQMJUGQ. You are receiving this because you commented.Message ID: @.***>
Syntax Error in marmaid if callqueue "Time out" time is set to 0