Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope Cases get -1 appended to their names on initialization #4722

Closed
hartra344 opened this issue Apr 28, 2024 · 0 comments · Fixed by #4725
Closed

Scope Cases get -1 appended to their names on initialization #4722

hartra344 opened this issue Apr 28, 2024 · 0 comments · Fixed by #4725
Assignees
Labels
Bug Something isn't working

Comments

@hartra344
Copy link
Contributor

Describe the Bug with repro steps

  1. Open Standalone
  2. Load "Switch" or "Unicode Text" mock cases
    OR
    Run the full serialization E2E test case which has been disabled on CI by accident

What type of Logic App Is this happening in?

Standard (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "actions": {
      "Switch": {
        "cases": {
          "First_Case": {
            "actions": {
              "Action-1-Compose": {
                "inputs": "test",
                "type": "Compose"
              }
            },
            "case": "test"
          },
          "Second_Case": {
            "actions": {},
            "case": "test-2"
          },
          "Third_Case": {
            "actions": {},
            "case": "test-3"
          }
        },
        "default": {
          "actions": {
            "Default-Compose": {
              "inputs": "test",
              "type": "Compose"
            }
          }
        },
        "expression": "@triggerBody()",
        "runAfter": {},
        "type": "Switch"
      },
      "Initialize_owner": {
        "inputs": {
          "variables": [
            {
              "name": "goalOwner",
              "type": "string",
              "value": "abc@microsoft.com"
            }
          ]
        },
        "runAfter": {
          "Switch": ["SUCCEEDED"]
        },
        "type": "InitializeVariable"
      }
    },
    "contentVersion": "1.0.0.0",
    "outputs": {},
    "triggers": {
      "Http": {
        "inputs": {
          "body": "d",
          "headers": {
            "d": "d"
          },
          "method": "PUT",
          "uri": "http://uri.com"
        },
        "recurrence": {
          "frequency": "Hour",
          "interval": 3,
          "timeZone": "UTC-11"
        },
        "type": "Http"
      }
    }
  },
  "kind": "Stateful"
}

Screenshots or Videos

CleanShot 2024-04-28 at 00 56 33@2x

Browser

Chrome

Additional context

Did a git bisect and it started with #4668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants