specification icon indicating copy to clipboard operation
specification copied to clipboard

Group `End` and `Transition` properties

Open cdavernas opened this issue 3 years ago • 7 comments

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?

cdavernas avatar Sep 16 '22 13:09 cdavernas

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

tsurdilo avatar Sep 16 '22 16:09 tsurdilo

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

cdavernas avatar Oct 27 '22 15:10 cdavernas

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[bot] avatar Dec 12 '22 00:12 github-actions[bot]

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[bot] avatar Jan 28 '23 00:01 github-actions[bot]

/remove-stale

lsytj0413 avatar Jan 28 '23 03:01 lsytj0413

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[bot] avatar Mar 15 '23 00:03 github-actions[bot]

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[bot] avatar Jul 10 '23 00:07 github-actions[bot]

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

cdavernas avatar May 17 '24 08:05 cdavernas