Can I get the form of all the task by using its Unique ID


As I am working with BPMN and the task goes in sequential order, but as per my requirement I have to show all the forms related to my user. The current active task assigned to him should be active and rest all forms should be disable but need to appear. So I thought of getting all the forms by the task ID and as the instance is present I can pragmatically enable and disable form.