Skip to content

Invalid Code generated for a flow diagram #185

Open
@dwhite660

Description

@dwhite660

Describe the bug
I experienced an error from code generated from the tool.
The error is:
Error: Parse error on line 4:
... L1[Operations Desk (Level 1 Support)]
-----------------------^
Expecting 'SQE', 'DOUBLECIRCLEEND', 'PE', '-)', 'STADIUMEND', 'SUBROUTINEEND', 'PIPE', 'CYLINDEREND', 'DIAMOND_STOP', 'TAGEND', 'TRAPEND', 'INVTRAPEND', 'UNICODE_TEXT', 'TEXT', 'TAGSTART', got 'PS'

The Diagram Code is:
flowchart TD
DT[Dynatrace Monitoring/Alert] --> SN[ServiceNow Event Management]
SN --> IM[ServiceNow Incident Management]
IM --> L1[Operations Desk (Level 1 Support)]
L1 --> PB{Consult Playbook}
PB -- "Use case covered & resolved" --> L1RES[Incident Resolved by Level 1]
PB -- "Not covered
or cannot resolve" --> ESC_L2[Escalate to Level 2
(PagerDuty & Phone)]
ESC_L2 --> L2[Level 2 Support]
L2 --> L2DEC{Can Level 2 resolve?}
L2DEC -- "Yes" --> L2RES[Incident Resolved by Level 2]
L2DEC -- "No" --> ESC_L3[Escalate to Level 3
(PagerDuty & Phone)]
ESC_L3 --> L3[Level 3 Support]
L3 --> L3RES[Incident Resolved by Level 3]


The Prompt is:
Create a process flow diagram of event management and incident management based on Dynatrace for monitoring, ServiceNow for event management and incident management, and PagerDuty and phone (Warm Handoff) for notification of level 2 and 3 support. Show an operations desk as level 1 support. Show the Operations Desk consulting a playbook to determin if they can resolve the incident. If no matching use case is found in the playbook, then Level 1 support will escalate to level 2 support. Show escalation between support levels 1, 2 and 3.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions