Skip to content

Add a new property to the listen task to determine what it should return #1068

Closed
@fjtirado

Description

@fjtirado

What would you like to be added?

Depending on the scenario, users might want to keep CloudEvent attributes in the workflow model or just the CloudEvent data

Proposal(s):

After discussing alternatives, we agree that a new property called return should be added to Listen task. Possible values are: data (default), envelope (whole cloud event), raw (for future use on binary events)

Alternative(s):

Include always the whole CloudEvent and, if user only wants data, include the proper expression in output

Additional info:

No response

Community Notes

  • Please vote by adding a 👍 reaction to the feature to help us prioritize.
  • If you are interested to work on this feature, please leave a comment.

Metadata

Metadata

Assignees

Labels

area: examplesarea: specChanges in the Specificationchange: documentationImprovements or additions to documentation. It won't impact a version change.change: featureNew feature or request. Impacts in a minor version changetype: feature

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions