Skip to content

Group End and Transition properties #684

Closed
@cdavernas

Description

@cdavernas

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?

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions