How did you confirm the problem is "Go to Layout"?
Server script can't import from other fm files, so I guess your problem is not there.
I can tell because I simplified the script to just one step: Go to Layout xxxxx and it never switched over to that layout.
Is it considered another FM file if the table I’m trying to import is an External Database?
Did you see the error code of the script step?
Server script can import records from files they are located only limited folders (documents and temp and their sub folders) or ODBC data source (not ESS table in a file).
(I forgot about XML data source in URL.)