[ADF-3646] refreshing tasklist and process list when a task of a process is completed (#3856)

This commit is contained in:
Vito
2018-10-03 18:32:13 +01:00
committed by Eugenio Romano
parent 07fb1da8c6
commit 8fde14e2ca

View File

@@ -270,6 +270,9 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
} else if (index === PROCESS_ROUTE) {
this.showProcessTab = event.index === this.tabs.processes;
this.relocateLocationToProcess();
if (this.processList) {
this.processList.reload();
}
} else if (index === REPORT_ROUTE) {
this.relocateLocationToReport();
}
@@ -399,6 +402,9 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
}
if (!this.taskList) {
this.navigateToProcess();
} else {
this.taskList.hasCustomDataSource = false;
this.taskList.reload();
}
}