Skip to content

out variables with empty loop #748

@brig

Description

@brig

simple example:

flows:
  default:
    - call: test
      out: myVar
      loop:
        items: []

    - log: ${myVar}

  test:
    - log: "in test"
    - set:
        myVar: "${item}"
14:13:04.171 [main] (concord.yml): Error @ line: 8, col: 7. Can't find the specified variable in '${myVar}'. Check if it is defined in the current scope. Details: ELResolver cannot handle a null base Object with identifier 'myVar'

little bit unexpected for me, what do you think?

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