context.invoke, invoking workflow will wait until the invoked workflow finishes before running the next step.

You cannot create an infinite chain of workflow invocations. If you set up an ‘invoke loop’ where workflows continuously invoke each other, the process will fail once it reaches a depth of 100.