Workflow instance creation by Event State seems strange #510
-
The specs for Event State states "... If defined as the workflow starting state, the event state definition controls when the workflow instances should be created". My understanding is that States (e.g. Operation, Switch, etc) are own by a Workflow Instance. So i don't understand how an Event State can trigger the creation of the Workflow Instance that it belongs to? i.e. in order to have an Event State, shouldn't there be a Workflow (as a sort of parent) first? If so, the workflow instance already exists ... am i missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Good point. Will work on clarifying this section. To give you an idea, it is really up to the runtime how to do this, and the spec doc should not make this assumption (will fix asap!). There are really two ways a runtime can handle this:
Either way, the spec should not, as you mention, favor one or the other, or in that matter any possible implementation decision. |
Beta Was this translation helpful? Give feedback.
Good point. Will work on clarifying this section.
To give you an idea, it is really up to the runtime how to do this, and the spec doc should not make this assumption (will fix asap!).
There are really two ways a runtime can handle this: