Solved

Automatically download files in a task


Userlevel 1
Badge +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?
icon

Best answer by Erik Brink 2 May 2019, 12:24

View original

8 replies

Userlevel 5
Badge +5
Hi Raj,

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

Regards, Erik
Userlevel 1
Badge +3
Hi Erik,

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

Userlevel 5
Badge +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
Userlevel 1
Badge +3
For windows the solution of creation a Windows command tasks works.
Userlevel 2
Badge +6
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.
Userlevel 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
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.)
Userlevel 2
Badge +6


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)
Userlevel 5
Badge +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
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