I am trying to export feature set into CSV using writer. But when I tried to set variable as directory path for dataset it throw me error checkout picture 1. When I set manually folder path it work well. I would like to set path variable from script params to save CSV output to that path. Any information how to set. I am creating this writer newly. When I checked existing writer it show like picture 2.
Picture 1 :
Error log after trying as per Picture 1.
Undefined macro `OUTPUT_DIR_SCRIPTED' dereferenced in file `/tmp/FME_1622633462491_53461'
Program Terminating
Translation FAILED.
Unfortunately this answer video not working for me How to automate writer output directory and filename in FME Desktop?