AnsweredAssumed Answered

Component is loaded before data is available from a service

Question asked by nupurkul on Jun 27, 2018
Latest reply on Jun 29, 2018 by dvuika

hello,

 

I am developing an application using ADF and Alfresco Process Services (APS).

I am using <adf-tasklist> component to display tasks for a particuar user.

However, I want to customize the way task list appears by default.

I want to add requester name and some start form field columns. For this reason I used a service to get process instance after we get task data from taskListService. However, service to get process instance is asynchronous. So, taskList component is loaded before the data from process instance service is available.

 

So, how do we prefetch the data from process instance service before component renders the task list view?

 

 

Outcomes