serverlessworkflow / specification

Contains the official specification for the Serverless Workflow Domain Specific Language. It provides detailed guidelines and standards for defining, executing, and managing workflows in serverless environments, ensuring consistency and interoperability across implementations.
http://serverlessworkflow.io
Apache License 2.0
745 stars 147 forks source link

Define context of `task.if` expression #1001

Closed matthias-pichler closed 2 months ago

matthias-pichler commented 2 months ago

What would you like to be added:

Currently the task.if expression is not fully documented .. at which point in the data-flow is it evaluated and on what?

My intuition would say the raw input?

Furthermore if a task is skipped, is the context transformation (export.as) still applied? I would say no

Why is this needed:

cdavernas commented 2 months ago

My intuition would say the raw input?

That's my understanding, yes, as we clarified that the input transformation is part of a task's feature.

Furthermore if a task is skipped, is the context transformation (export.as) still applied? I would say no

IMHO, of course no: if the task is skipped, so are all the associated features

cdavernas commented 2 months ago

Closed as completed by #1005