Is there any REST API to know all the upcoming/finished user task in the process(by process key or instance). Say, a process having multiple tasks including some user tasks. I want to build a progress bar which just shows user tasks in order of completed and upcoming. I know that the upcoming task order might be tricky to draw but I am fine to represent those as expected user tasks. I would fix the order once the all the tasks in the process are completed.
Please suggest how can I achieve this.