Skip to main content

We like to execute a windows command from inside a system flow

Example:

DIR "\\sharename\queue" /b /s >”\\sharename\cmd\queue.txt"

What is de best approach?

Hi Harm,

Having Indicium execute a shell command like this is currently not possible.

The easiest approach would be to set up a small, local web service that has the proper authorization to execute such commands and call this via an HTTP connector.

For this specific use case, consider using the List folder connector to read the files from a directory.


Hello Anne,

I thought so and actually this is not really the way we wanted to go.

Using the List Folder connector seems to be the right choice. I gave this a try already, but it didn't work and proper documentation with examples is missing.

Maybe someone can give some more details the possibilities and how to set up List Folder connector.

 

 


Hi @Harm Horstman,

Side thingy. The example as provided here did not help you out? https://docs.thinkwisesoftware.com/docs/sf/process_flows_connectors#example-of-folder-contents-json

If it didn't suffice, please let me know why/what to improve and I’ll make sure to add a Documentation ticket about this in your name.


Hi Jeroen,

Yes there is some documentation, but what is difficult to understand is the fact that there is a “Storage Location” setting in the Proces Action and a Input Parameter "Source Folder (pointer)”

I have tried various settings, but it did not work for a network share.

 

 

 


Hi Harm, we created a Docs ticket for this situation. Do you still require further assistance or can we close this topic?


I am OK for now.

Good to update Docs on this.

Thanks