Skip to content

feat: Replace getInstancesByBusinessKey with a general getInstances method #105

@Kronprinz03

Description

@Kronprinz03

Description:

Currently, getInstancesByBusinessKey only supports filtering workflow instances by business key, which limits the ability to filter by other parameters.

Proposed Change:

Transform getInstancesByBusinessKey into a more general getInstances method that allows filtering and ordering by all available fields:

  • id
  • definitionId
  • definitionVersion
  • startedAt
  • completedAt
  • startedBy
  • subject
  • businessKey

Motivation:

Users need to filter workflow instances by criteria other than business key, e.g. filtering by creation date (startedAt). The current method does not support this.

Related: #104

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions