Skip to content

Update Set task to support direct runtime expression #1086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

nyamathshaik
Copy link
Contributor

@nyamathshaik nyamathshaik commented Mar 9, 2025

Please specify parts of this PR update:

  • Specification
  • Schema
  • Examples
  • Extensions
  • Use Cases
  • Community
  • CTK
  • Other

Discussion or Issue link:

Issue #1087

What this PR does:
This PR updates the Set task:

  • Modifies the set property Type to include string in addition to object.
  • Updates the Description to clarify that set can be an object or a direct runtime expression.
  • Adds a new Example demonstrating direct runtime expressions.

Additional information:

This change makes it easier to set values dynamically in workflows without requiring an object structure.

@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from 00ea11b to 0b67120 Compare March 9, 2025 18:30
@cdavernas
Copy link
Member

cdavernas commented Mar 9, 2025

@nyamathshaik Thanks!
Can I ask you to please open an issue that describes what your PR addresses?

@cdavernas cdavernas changed the title feat: Set-task to support direct runtime expression Update Set task to support direct runtime expression Mar 9, 2025
@cdavernas cdavernas linked an issue Mar 9, 2025 that may be closed by this pull request
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from aeb5fb5 to 93fd28d Compare March 9, 2025 18:59
@nyamathshaik nyamathshaik requested a review from cdavernas March 9, 2025 19:00
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from 53f3f5b to f2f6ec3 Compare March 9, 2025 19:07
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from 99f3afd to 9ba4c3f Compare March 10, 2025 10:49
@nyamathshaik nyamathshaik requested a review from cdavernas March 10, 2025 10:50
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch 3 times, most recently from 889ef24 to 768960f Compare March 10, 2025 11:28
@nyamathshaik nyamathshaik requested a review from cdavernas March 10, 2025 11:37
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from 8dc53bb to 71b7598 Compare March 10, 2025 12:10
@nyamathshaik nyamathshaik requested a review from cdavernas March 10, 2025 12:10
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from 3240fd0 to 0e5d0a4 Compare March 10, 2025 12:20
@nyamathshaik nyamathshaik requested a review from cdavernas March 10, 2025 12:21
@cdavernas
Copy link
Member

@nyamathshaik DCO is failing. Can you please sign-off?

Copy link
Member

@cdavernas cdavernas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Cheers ❤️

@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch 2 times, most recently from d596b72 to 3a695ae Compare March 10, 2025 14:04
…ion in the schema

Signed-off-by: Ricardo Zanini <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
ricardozanini and others added 19 commits March 19, 2025 12:32
Signed-off-by: Ricardo Zanini <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
serverlessworkflow#1082)

* update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multiple YAML files

Signed-off-by: Gilles Barbier <[email protected]>

* fix(contributing): reverting pre-release versioning format

Signed-off-by: Gilles Barbier <[email protected]>

---------

Signed-off-by: Gilles Barbier <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
…l and dsl-reference (serverlessworkflow#1083)

* update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multip… (serverlessworkflow#1082)

* update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multiple YAML files

Signed-off-by: Gilles Barbier <[email protected]>

* fix(contributing): reverting pre-release versioning format

Signed-off-by: Gilles Barbier <[email protected]>

---------

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl): fix a few issues in dsl and dsl-reference

Signed-off-by: Gilles Barbier <[email protected]>

* update .gitignore to include .DS_Store

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): correct table formatting

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): clarify flow directive descriptions

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): improve table formatting

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): clarify flow directive descriptions

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl): fix a few issues in dsl and dsl-reference

Signed-off-by: Gilles Barbier <[email protected]>

* update .gitignore to include .DS_Store

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): correct table formatting

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): clarify flow directive descriptions

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): improve table formatting

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): clarify flow directive descriptions

Signed-off-by: Gilles Barbier <[email protected]>

* fix(dsl-reference): improve table formatting

Signed-off-by: Gilles Barbier <[email protected]>

* remove again .DS_Store

Signed-off-by: Gilles Barbier <[email protected]>

---------

Signed-off-by: Gilles Barbier <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Signed-off-by: Michal Broz <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Co-authored-by: Charles d'Avernas <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Co-authored-by: Charles d'Avernas <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Co-authored-by: Charles d'Avernas <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Co-authored-by: Charles d'Avernas <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
… DSLs

Signed-off-by: Charles d'Avernas <[email protected]>
Signed-off-by: Nyamath Shaik <[email protected]>
@nyamathshaik nyamathshaik force-pushed the feat/set-task-support-direct-runtime-expression branch from ed5d02f to 3951cd0 Compare March 19, 2025 07:02
@nyamathshaik
Copy link
Contributor Author

@ricardozanini Can you please help approve and merge this PR?

@ricardozanini ricardozanini merged commit 0ceb0e3 into serverlessworkflow:main Mar 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance Set Task to Support Direct Runtime Expressions
6 participants