Where should i add a open page logic?

In the image attached where should i add a open page logic.

When the register button is clicked and registration successful alert comes the Log in Page should open.

As for your flow logic, it doesn’t really make difference where you place the open page flow function as long as you place it after the Successful alert dialog.