Skip to content

workflow.id and workflow.key is duplicate #742

@lsytj0413

Description

@lsytj0413

What would you like to be added:

Only keep one of id or key property in workflow.

Why is this needed:

As the description:

The id property defines the unique, domain-specific workflow identifier, for example "orders", "payment", etc.

The key property defines the unique, domain-specific workflow identifier. It can be used when the id property is auto-generated by a content-management system for example. In these cases, you can specify the key property to be the domain-specific identifier of the workflow definition. The id and key properties are mutually exclusive, meaning you cannot define both.

The id & key property is exclusive,we can only have one of them, but when id is auto-generated (which means it have an value), we cannot define the key property, so the use case is wrong.

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