[ADF-4321] Add Task Id filter to task cloud filters (#4571)

This commit is contained in:
davidcanonieto
2019-04-10 10:49:56 +01:00
committed by Eugenio Romano
parent fb9308ddbf
commit 7a2c5762ff
5 changed files with 11 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
[processDefinitionId]="editedFilter.processDefinitionId" [processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId" [processInstanceId]="editedFilter.processInstanceId"
[name]="editedFilter.taskName" [name]="editedFilter.taskName"
[id]="editedFilter.taskId"
[parentTaskId]="editedFilter.parentTaskId" [parentTaskId]="editedFilter.parentTaskId"
[priority]="editedFilter.priority" [priority]="editedFilter.priority"
[owner]="editedFilter.owner" [owner]="editedFilter.owner"

View File

@@ -82,6 +82,7 @@ given below:
| **_status_** | Execution state of the task. | | **_status_** | Execution state of the task. |
| **_assignee_** | User the task is assigned to | | **_assignee_** | User the task is assigned to |
| **_taskName_** | Name of the task | | **_taskName_** | Name of the task |
| **_taskId_** | ID of the task |
| **_parentTaskId_** | ID of the task's parent task | | **_parentTaskId_** | ID of the task's parent task |
| **_priority_** | Task priority | | **_priority_** | Task priority |
| **_createdDate_** | Date the task was created | | **_createdDate_** | Date the task was created |

View File

@@ -113,6 +113,7 @@
}, },
"LABEL": { "LABEL": {
"APP_NAME": "ApplicationName", "APP_NAME": "ApplicationName",
"TASK_ID": "Task ID",
"PROCESS_DEF_ID": "ProcessDefinitionId", "PROCESS_DEF_ID": "ProcessDefinitionId",
"STATUS": "Status", "STATUS": "Status",
"ASSIGNMENT": "Assignee", "ASSIGNMENT": "Assignee",

View File

@@ -439,6 +439,12 @@ export class EditTaskFilterCloudComponent implements OnInit, OnChanges {
value: currentTaskFilter.appName || '', value: currentTaskFilter.appName || '',
options: this.applicationNames options: this.applicationNames
}), }),
new TaskFilterProperties({
label: 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.TASK_ID',
type: 'text',
key: 'taskId',
value: ''
}),
new TaskFilterProperties({ new TaskFilterProperties({
label: 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.STATUS', label: 'ADF_CLOUD_EDIT_TASK_FILTER.LABEL.STATUS',
type: 'select', type: 'select',

View File

@@ -32,6 +32,7 @@ export class TaskFilterCloudModel {
createdDate: Date; createdDate: Date;
dueDate: Date; dueDate: Date;
taskName: string; taskName: string;
taskId: string;
parentTaskId: string; parentTaskId: string;
priority: number; priority: number;
standAlone: boolean; standAlone: boolean;
@@ -56,6 +57,7 @@ export class TaskFilterCloudModel {
this.createdDate = obj.createdDate || null; this.createdDate = obj.createdDate || null;
this.dueDate = obj.dueDate || null; this.dueDate = obj.dueDate || null;
this.taskName = obj.taskName || null; this.taskName = obj.taskName || null;
this.taskId = obj.taskId || null;
this.parentTaskId = obj.parentTaskId || null; this.parentTaskId = obj.parentTaskId || null;
this.priority = obj.priority || null; this.priority = obj.priority || null;
this.standAlone = obj.standAlone || null; this.standAlone = obj.standAlone || null;