Skip to content

Valid YAQL in With Items Input Fails #247

@jamesdreid

Description

@jamesdreid

Creating a workflow that includes a "with-items" task that uses a valid YAQL statement to supply a list to the input of the task fails. It appears that the workflow will not longer properly evaluated the YAQL prior to running the task.

The following task config does not work:

withitem_task:
    with:
      items: <% ctx(dict_obj).keys() %>
    action: core.noop

Using the exact same YAQL statement in the publish statement of a prior task will generate a proper array and works as expected when referenced from the context in the "items" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions