From 8fde14e2ca9d9b65461ce2c2853aa6d1880eb3ce Mon Sep 17 00:00:00 2001 From: Vito Date: Wed, 3 Oct 2018 18:32:13 +0100 Subject: [PATCH] [ADF-3646] refreshing tasklist and process list when a task of a process is completed (#3856) --- .../components/process-service/process-service.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/demo-shell/src/app/components/process-service/process-service.component.ts b/demo-shell/src/app/components/process-service/process-service.component.ts index 6c0bcc214c..c21fc98620 100644 --- a/demo-shell/src/app/components/process-service/process-service.component.ts +++ b/demo-shell/src/app/components/process-service/process-service.component.ts @@ -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(); } }