In our process we have two human tasks A and B...When Task A completes Task B will be created. If Task B is approved Flow ends, where as if Task B is rejected We will re-open the Task A.
In the case of re-opening the Task A , Engine by default creates a new task id in act_ru_task table , is there any possibility to re-open a previous completed Task A instance rather than creating a new task when the flow comes back to Task A again(Second time due to Rejection from Task B)
That will not be simple to do since there is runtime tables that only contain data for on flight (process and tasks) and deleted when finished. Other tables for keeping history. All those will need to be hacked.
Is there a specific reason why you want to do this? And why creating a new task instance isn't fine in your case?