Skip to content

Group End and Transition properties #684

Closed
@cdavernas

Description

@cdavernas
Member

What would you like to be added:
Group End and Transition properties, in such way that we can address it as an (activity | state | workflow) outcome.

In other words, what I'd like to achieve is:

...
states:
  - name: MyState
    outcome:
      type: end
      produceEvents: ...
    ...
...

Why is this needed:

Because End and Transition properties are mutually exclusive, and implicitly defines the outcome of an (activity | state | workflow), it makes sense to call is as such. In addition, it simplifies processing of the whole definition, by checking that an outcome has been specified instead of having to do checks on multiple properties. @tsurdilo WDYT?

Activity

tsurdilo

tsurdilo commented on Sep 16, 2022

@tsurdilo
Contributor

Yes, i wish we did this to begin with. Will update

self-assigned this
on Sep 16, 2022
added
change: featureNew feature or request. Impacts in a minor version change
on Sep 16, 2022
added this to the v0.9 milestone on Sep 16, 2022
cdavernas

cdavernas commented on Oct 27, 2022

@cdavernas
MemberAuthor

I'm working on it, PR should be ready by Monday;)

github-actions

github-actions commented on Dec 12, 2022

@github-actions

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions

github-actions commented on Jan 28, 2023

@github-actions

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lsytj0413

lsytj0413 commented on Jan 28, 2023

@lsytj0413
Contributor

/remove-stale

github-actions

github-actions commented on Mar 15, 2023

@github-actions

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

3 remaining items

moved this from Todo to In Progress in Progress Trackeron May 30, 2023
github-actions

github-actions commented on Jul 10, 2023

@github-actions

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cdavernas

cdavernas commented on May 17, 2024

@cdavernas
MemberAuthor

Closed as resolved by 1.0.0-alpha1, and therefore as part of #843

moved this from In Progress to Done in Progress Trackeron May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

change: featureNew feature or request. Impacts in a minor version change

Type

No type

Projects

Status

Done

Relationships

None yet

    Participants

    @tsurdilo@ricardozanini@lsytj0413@cdavernas

    Issue actions

      Group `End` and `Transition` properties · Issue #684 · serverlessworkflow/specification