Skip to content

Naming proposal for ProcessInstance #77

@ateodorescu

Description

@ateodorescu

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 ProcessInstance by id;
  • migrating ProcessInstances from 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions