Move a stuck MultiInstanceActivity to next Activity?

We have a wierd situation where a multi-instance activity has completed all of its instance tasks. But its not moving forward to the next step in the sequence. The next step is a “normal” activity which I want to “hit” by moving the workflow as explained in the images below.

What I am trying to achieve:
Move the flow from Assign Workers multi instance activity (Id : Activity_MultiInstanceWorker)
To the Complete Common Tasks activity (Id : Activity_Common).

I read through the API references of start/restart process instance & process instance modification and am a bit lost as to which one would help move this stuck process along.
Could someone suggest the best course of action here?

Parent Flow Stuck on Assign Workers
image

Complete Common Tasks Activity

Found a way to do this:

  • Kill all existing Process Instances
  • Run Start Instance against the Activity ID with all the variables in scope.

One question I did have - I was able to pull the ActivityID from the Camunda Modeller and the model I checked into github that is loaded by our applications. But how do i get this from Database? Which table holds all these tasks/activiities IDs ?