AAE-29345 Add date filtering to service tasks page (#10502)

This commit is contained in:
Robert Duda 2024-12-17 14:15:46 +01:00 committed by GitHub
parent 86fe8cdc23
commit 91b30630b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View File

@ -229,6 +229,9 @@ export interface ServiceTaskFilterCloudModel {
activityName?: string; activityName?: string;
activityType?: string; activityType?: string;
completedDate?: Date; completedDate?: Date;
completedDateType?: DateCloudFilterType;
completedFrom?: string;
completedTo?: string;
elementId?: string; elementId?: string;
executionId?: string; executionId?: string;
processDefinitionId?: string; processDefinitionId?: string;
@ -240,6 +243,9 @@ export interface ServiceTaskFilterCloudModel {
serviceName?: string; serviceName?: string;
serviceVersion?: string; serviceVersion?: string;
startedDate?: Date; startedDate?: Date;
startedDateType?: DateCloudFilterType;
startedFrom?: string;
startedTo?: string;
} }
export interface FilterParamsModel { export interface FilterParamsModel {

View File

@ -84,11 +84,13 @@ export class ServiceTaskListCloudComponent extends BaseTaskListCloudComponent {
maxItems: this.size, maxItems: this.size,
skipCount: this.skipCount, skipCount: this.skipCount,
sorting: this.sorting, sorting: this.sorting,
id: this.queryParams?.serviceTaskId, serviceTaskId: this.queryParams?.serviceTaskId,
environmentId: this.queryParams?.environmentId, environmentId: this.queryParams?.environmentId,
activityName: this.queryParams?.activityName, activityName: this.queryParams?.activityName,
activityType: this.queryParams?.activityType, activityType: this.queryParams?.activityType,
completedDate: this.queryParams?.completedDate, completedDate: this.queryParams?.completedDate,
completedFrom: this.queryParams?.completedFrom,
completedTo: this.queryParams?.completedTo,
elementId: this.queryParams?.elementId, elementId: this.queryParams?.elementId,
executionId: this.queryParams?.executionId, executionId: this.queryParams?.executionId,
processDefinitionId: this.queryParams?.processDefinitionId, processDefinitionId: this.queryParams?.processDefinitionId,
@ -99,6 +101,8 @@ export class ServiceTaskListCloudComponent extends BaseTaskListCloudComponent {
serviceName: this.queryParams?.serviceName, serviceName: this.queryParams?.serviceName,
serviceVersion: this.queryParams?.serviceVersion, serviceVersion: this.queryParams?.serviceVersion,
startedDate: this.queryParams?.startedDate, startedDate: this.queryParams?.startedDate,
startedFrom: this.queryParams?.startedFrom,
startedTo: this.queryParams?.startedTo,
status: this.queryParams?.status status: this.queryParams?.status
} as ServiceTaskQueryCloudRequestModel; } as ServiceTaskQueryCloudRequestModel;
return requestNode; return requestNode;