Solved

Automatically download files in a task

  • 2 May 2019
  • 8 replies
  • 145 views

Badge +2
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

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

8 replies

Userlevel 3
Badge +3
Hi Raj,

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

Regards, Erik
Badge +2
Hi Erik,

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

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

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 3
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.)


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 3
Badge +3


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