Skip to content

PowerShell workflow default param string value shows error #669

Closed
@dotps1

Description

@dotps1

System Details

  • Operating system name and version: Windows 10 1607 x64
  • VS Code version: 1.11.1
  • PowerShell extension version: 12.2
  • Output from $PSVersionTable: (the code commands don't have any output on my system?)
PS C:\> $pseditor.EditorServicesVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
0      12     1      0

PS C:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.953
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.953
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

in powershell workflow, a string default parameter is showing an error saying it needs to be a "simple value" like an int or a string. and it is a string.

Attached Logs

image

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