Skip to main content
Solved

Write file process action - target file path (output) not working?

  • February 19, 2025
  • 1 reply
  • 53 views

Forum|alt.badge.img+1

Hi 

 

I have a process that I've been troubleshooting why the file is not saving to the target file path, 

 

First I've tried to use absolute path but it's not working, then I use relative path which is the screenshot and still not working.

 

Then I figure out that I have to put the relative path under the Target file name, in order to save to the expected path like below. 

 

 

I'm just curious why the target file path is not functioning as expected? or did I missed out something?

 

Please advice

 

Thank you

 

Best answer by Mark Jongeling

Hi Jheng, 

The Target file path will return the absolute path to the file. This is the location where the file has been written to.

Docs: File and folder connectors | Thinkwise Documentation

The Storage location bound to the Write file process action contains the Base path. In the Process action input, you need to supply the Target file name. This name will be used for the file. 

Example (in UNC):

  • Base path in Storage location: C:\temp
  • Target file name: folder\results.csv
  • Target file path will return: C:\temp\folder\results.csv

Also work for other storage providers with the appropiate slashes. Hope this helps!

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • Answer
  • February 19, 2025

Hi Jheng, 

The Target file path will return the absolute path to the file. This is the location where the file has been written to.

Docs: File and folder connectors | Thinkwise Documentation

The Storage location bound to the Write file process action contains the Base path. In the Process action input, you need to supply the Target file name. This name will be used for the file. 

Example (in UNC):

  • Base path in Storage location: C:\temp
  • Target file name: folder\results.csv
  • Target file path will return: C:\temp\folder\results.csv

Also work for other storage providers with the appropiate slashes. Hope this helps!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings