I am using Java edit variable to add folder to the root dir based on need
String fname=“/NCL_Thomson_Settlements”;
String filename=“/Settlements_Prelim_File_Analysis_Fidelity”;
Input_Dir = N:\TOOLS\Allocaton Settlement Process Docs\CAL AUTOMATION
I am using this to get the Dir appeneded to the folder name and file name
The problem is its not letting me add \ but only allows me to use /
so my output is as below which si wrong
N:\TOOLS\Allocaton Settlement Process Docs\CAL AUTOMATION/NCL_Thomson_Settlements/Settlements_Prelim_File_Analysis_Fidelity_QA.xlsx
The output of a Java Edit Variable or Create File name legacy is a String Datatype
Output given is as below
N:\TOOLS\Allocaton Settlement Process Docs\CAL AUTOMATION\NCL_Thomson_Settlements\Settlements_Prelim_File_Analysis_Fidelity_QA.xlsx
I a trying to convert it as a Path using the node String to path Variable and the output now looks as
(LOCAL, N:\TOOLS\Allocaton Settlement Process Docs\CAL AUTOMATION\NCL_Thomson_Settlements\Settlements_Prelim_File_Analysis_Fidelity_QA.xlsx)
It is not recognized inExcel writer
@chaithuj this component will extract the absolute path of the workflow and the /data/ folder as well as the separator based on the system “path.separator.system” either / or \