Skip to main content
Completed

Read folder (new process action type)

Related products:Software FactoryWindows GUIIndicium Service Tier
Kevin Horst
Mark Jongeling
eurban
+10
  • Kevin Horst
    Kevin Horst
  • Henk-Jan van Laar
  • Mark Jongeling
    Mark Jongeling
  • gariens
  • eurban
    eurban
  • Erwin Ekkel
  • Remco Kort
    Remco Kort
  • Marc Ferket
  • Bas
    Bas
  • Theo Neeskens
    Theo Neeskens
  • Matthijs ter Stege
    Matthijs ter Stege
  • Ezgi Esen
  • PeterNelemans
    PeterNelemans
  • Guido Bijl
    Guido Bijl
  • Erik van Roemburg

Bas
Vanguard
  • Vanguard
  • 19 replies

In an action flow I have the ability to read/write/move/delete files and folders. 

I have no option to get a list of files inside of a folder.

 

This would be very helpful. Currently I have an external document generator that creates PDF files and puts them on a file share. The filename convention of the generator contains a timestamp and some other variables that I am not aware of. Because of this I can’t READ FILE since I don’t know when the file was generated or what other variables are part of it’s file name.

Did this topic help you find an answer to your question?

6 replies

Freddy
Forum|alt.badge.img+16
  • Thinkwise Local Partner Brasil
  • 533 replies
  • January 12, 2021

I guess you could use the low-code part in your flow by utilizing (at least on SQL server) the default function to read a directory: sys.dm_os_enumerate_filesystem(t1.file_path,'*.pdf') and return it's contents. 


Jasper
Superhero
  • 678 replies
  • February 1, 2021
Updated idea status NewOpen

Bas
Vanguard
Forum|alt.badge.img+3
  • Author
  • Vanguard
  • 19 replies
  • July 12, 2021

Our current solution is a windows service that uses a configuration stored within Thinkwise.

This way we can change/add/remove folders that needs to be looked at from within the application. This issue is that it’s an additional windows service that need to be installed, configured, maintained.

And the Thinkwise application already has the ability to read folders, otherwise the open file action would be quite impossible. Hope this get’s added soon as we will run into this issue more often in the future.


Theo Neeskens
Vanguard
Forum|alt.badge.img+2

I need the same thing, need to process all files that are in a certain folder. Client-side, so SQL Server functionality is not of any help.


Mark Jongeling
Administrator
Forum|alt.badge.img+23
Updated idea statusOpenCompleted

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Bas,

It looks like we missed this idea and haven't updated the Idea status. Your idea has been implemented in the 2022.2 release that is available now 😁

The new process action is called List folder (as it lists the contents of the given folder). It works with File storage. More info here: https://docs.thinkwisesoftware.com/docs/sf/process_flows_connectors#list-folder

Thank you for your great idea! 


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