-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
According to the BPMN standard an instance of a Process Definition is called Process Instance. I suggest a rename of the Workflow class to ProcessInstance.
The WorkflowBuilder class could become ProcessDefinition. A ProcessDefinition could have multiple versions (ProcessDefinitionVersion) but only one of them is active.
A ProcessInstance is usually linked to a ProcessDefinitionVersion.
If we would have a ProcessDefinition class then we could implement methods for:
- creating new
ProcessInstances; - finding an existing
ProcessInstanceby id; - migrating
ProcessInstancesfrom a version to the latest version.
Of course these definition classes could be also implemented by users in their apps.
@iteman What do you think?
Metadata
Metadata
Assignees
Labels
No labels