Skip to main content
Solved

Automatically download files in a task


Raj Rozendaal
Sidekick
Forum|alt.badge.img+3
We generate XML files in our system. These files currently can be approached by using a task. We have chosen for a task because we want to log all persons approaching the XML.



In this task we see the file name and the option to download this file. After pressing the green download button we have to exit the task by pressing 'uitvoeren'.



Is it possible to start the downloading of the document the path is referring to automatically instead of pressing the green download button after we opened the task?

Best answer by Erik Brink

Please try to pass it through to a Task of type "Windows command". For more information:

https://office.thinkwisesoftware.com/docs/docs/sf/tasks.html#windows-command
View original
Did this topic help you find an answer to your question?

Erik Brink
Moderator
Forum|alt.badge.img+5
Hi Raj,

Did you try the File access Processflow actions the SF has to offer?

Regards, Erik

Raj Rozendaal
Sidekick
Forum|alt.badge.img+3
Hi Erik,

I only see the option to read, write, move of delete a file. No option to open the file.


Erik Brink
Moderator
Forum|alt.badge.img+5
Please try to pass it through to a Task of type "Windows command". For more information:

https://office.thinkwisesoftware.com/docs/docs/sf/tasks.html#windows-command

Raj Rozendaal
Sidekick
Forum|alt.badge.img+3
For windows the solution of creation a Windows command tasks works.

Tom van Druten
Warrior
Forum|alt.badge.img+6
Erik Brink wrote:
Please try to pass it through to a Task of type "Windows command". For more information:

https://office.thinkwisesoftware.com/docs/docs/sf/tasks.html#windows-command


So in fact you're running a CMD by running it? Does it run on the local user? I think I'm looking for this in a case I have! I tried using the move file connector in process flows, but this has some restrictions, because it looks like it doesn't run on the local user.

Robbert van Tongeren
Thinkwise blogger
Tom van Druten wrote:

Erik Brink wrote:
Please try to pass it through to a Task of type "Windows command". For more information:

https://office.thinkwisesoftware.com/docs/docs/sf/tasks.html#windows-command
So in fact you're running a CMD by running it? Does it run on the local user? I think I'm looking for this in a case I have! I tried using the move file connector in process flows, but this has some restrictions, because it looks like it doesn't run on the local user.

Yes, I believe you are running a CMD command, also this is from the local user. (Which is why it's only working on the windows GUI and not the web / Mobile.)

Tom van Druten
Warrior
Forum|alt.badge.img+6
Robbert van Tongeren wrote:

Tom van Druten wrote:

Erik Brink wrote:
Please try to pass it through to a Task of type "Windows command". For more information:

https://office.thinkwisesoftware.com/docs/docs/sf/tasks.html#windows-command
So in fact you're running a CMD by running it? Does it run on the local user? I think I'm looking for this in a case I have! I tried using the move file connector in process flows, but this has some restrictions, because it looks like it doesn't run on the local user.
Yes, I believe you are running a CMD command, also this is from the local user. (Which is why it's only working on the windows GUI and not the web / Mobile.)


Thanks, I'll give it a try, because the process flow action 'move folder' is not working for me, because it doesn't have the rights it needs. (moving from network drive, to local drive)

Erik Brink
Moderator
Forum|alt.badge.img+5
Robbert van Tongeren wrote:

Tom van Druten wrote:

Erik Brink wrote:
Please try to pass it through to a Task of type "Windows command". For more information:

https://office.thinkwisesoftware.com/docs/docs/sf/tasks.html#windows-command
So in fact you're running a CMD by running it? Does it run on the local user? I think I'm looking for this in a case I have! I tried using the move file connector in process flows, but this has some restrictions, because it looks like it doesn't run on the local user.
Yes, I believe you are running a CMD command, also this is from the local user. (Which is why it's only working on the windows GUI and not the web / Mobile.)


Small correction, Robbert.

The Web GUI uses the Windows Command type task from SF to link to a website to open or a file to download.

The Web GUI will not try to open an Windows program on the client when the Windows Command type Task refers to an executable, like the Windows GUI does. Whether it is linked to CMD.exe or whatever else.

Reply


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