eed-web-application / core-work-management

Other
0 stars 0 forks source link

Update query for GET work #90

Open tiffany-slac opened 14 hours ago

tiffany-slac commented 14 hours ago

additional filters for the GET /v1/work

bisegni commented 12 hours ago

for workflow request could be better to filter for workflow name? rememebr that each workflow has a different id per domain so all workflow with the same name has differente ID and in future we could have differente request workflow

tiffany-slac commented 12 hours ago

yes that could be better to use workflow name as they may have different ids and we need the request flow from all domains

bisegni commented 12 hours ago

i will filter for that:

  @Schema(description = "Filter by users that created the work")
  List<String> createdBy,
  @Schema(description = "Filter by users that are assigned to the work")
  List<String> assignedTo,
  @Schema(description = "Filter by workflow name")
  List<String> workflowName,
  @Schema(description = "Filter by workflow state")
  List<WorkflowStateDTO> workflowState