Skip to main content
Question

configure workspace location for workspacerunner

  • June 16, 2016
  • 5 replies
  • 51 views

Forum|alt.badge.img

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

lau
Forum|alt.badge.img+3
  • June 16, 2016

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


Forum|alt.badge.img
  • Author
  • June 16, 2016

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


Forum|alt.badge.img
  • Author
  • June 16, 2016

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.


takashi
Celebrity
  • June 16, 2016

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.


Forum|alt.badge.img
  • Author
  • June 17, 2016

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.