Skip to main content

So far my workflow was the following:

Open FME, run a workspace 'A' including a workspacerunner calling workspace B. Workspace B is in the same location as workspace A, and in the WorkspaceRunner I'm calling 'B.fmw', without a path. It is importent that B is found in the same location as a without, so that the project can be distributed to other computers.

Now I'm trying to call workspace A from the command line. But now the workspace runner does not work, workspace B is not found anymore. If I write the complete path in the workspace runner it works. But this is not an option for me.

In the log files one difference is that the 'Current working folder' originally was my workspace location. Using the command line it is now C:\\Program File\\FME. I assume that this might be related to my issue.

Is there any way I can tell FME to search for my Workspace B in the same Folder as Workspace A?

You can try $(FME_MF_DIR)\\B.fmw instead of B.fmw


You can try $(FME_MF_DIR)\\B.fmw instead of B.fmw

Thank you, but this way the WorkspaceRunner Transformer connot find the workspace at all, it is marked red and the Parameters don't show up


Thank you, but this way the WorkspaceRunner Transformer connot find the workspace at all, it is marked red and the Parameters don't show up

Well, technically your method it works, but I'm missing the possibility to configure my parameters beforehand.


Hi @kath, I think that the FME Workspace parameter setting will be updated automatically when you copy the workspaces to another location. Make sure this.

[Edit] I mean the case where you set the parameter with the full path.


Hi @kath, I think that the FME Workspace parameter setting will be updated automatically when you copy the workspaces to another location. Make sure this.

[Edit] I mean the case where you set the parameter with the full path.

Thanks, takashi, you are right, the path gets updated when copying to another location.


Reply