Running the workbench as a workspace the $(FME_MF_NAME) variable returns my workspace name Once I convert it to a custom transformer (CT) this variable returns the fmx name rather than the calling fmw name
I set a published parameter to the value of the $(FME_MF_NAME) in the CT
Running as a Linked CT I get the following error
Starting translation...
Undefined macro `ArcGIS_MetaItemDescription_FME_MF_NAME' dereferenced in file `C:\\Users\\scooter\\Documents\\FME\\Transformers\\ArcGIS_MetaItemDescription.fmx'
Program Terminating
Translation FAILED.
Running as an embedded CT I get the correct result
When I embed and run it using a private parameter I get the same error
Starting translation...
Undefined macro `ArcGIS_MetaItemDescription_FME_MF_NAME' dereferenced in file `C:\\Users\\scooter\\Documents\\My FME Workspaces\\wb-xlate-1399417605939_8048'
Program Terminating
Translation FAILED.
I really would prefer to use this as a linked CT using a private parameter
Pretty inexperienced in terms fsuing CT and passing parameters so hoping someone can help
Thanks
Brian