Skip to content

Cannot initialize a variable with a non-boolean value even if variable is defined as non-boolean *after copying | pasting from an existing boolean action* #6225

Closed
@meadows-st-Techlytical

Description

@meadows-st-Techlytical

Describe the Bug with repro steps

  1. Copy action "Initialize Variable" from an existing boolean activity (originally I mistakenly wrote that this happened when inserting a new action but I can only recreate the issue when copying | pasting from an existing activity)
  2. Define a name e.g. floattest
  3. Select variable type = float
  4. Attempt to enter a non-boolean value (e.g. 0.0)
  5. Error message appears ("enter a valid boolean value")

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

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

{
  "type": "InitializeVariable",
  "inputs": {
    "variables": [
      {
        "name": "fltEntireOrderDiscount",
        "type": "float",
        "value": 0
      }
    ]
  },
  "runAfter": {
    "InitBackorderTypeString": [
      "SUCCEEDED"
    ]
  }
}

Screenshots or Videos

Image

Browser

Edge

Additional context

No response

Metadata

Metadata

Assignees

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