Srini84
(Srinivas)
November 22, 2018, 9:20am
1
Hi,
I had a situation that i need to call the external exe file and pass the parameters and run the process, process completes and output is a csv file with some info.
Example : C:\xls\xlsx.exe /P “Z:\New\abdulla_IO1.jpg”
Please help on this.
Thanks
indra
(Indra)
November 22, 2018, 9:26am
2
@Srini84 Use start process activity follow below post
In the Start Process Activity pass the following
Under FileName: Provide the Excel.exe path
Under Arguments: Provide the complete CSV file path
Then run it.
Srini84
(Srinivas)
November 22, 2018, 9:29am
3
@indra , Thanks for the reply, i tried with that, but it is not waiting the process to complete it is just complete and didn’t get any output, as it has to wait to get the output
indra
(Indra)
November 22, 2018, 9:30am
4
@Srini84 Can you elaborate what you are exactly trying to do
Srini84
(Srinivas)
November 22, 2018, 9:33am
5
Start the process, and pass the argument as the default value as /P “Z:\New\abdulla_IO1.jpg”, it is processed
indra
(Indra)
November 22, 2018, 9:41am
6
@Srini84 Use start process activity
In the executable path pass application name
In the argument pass file path
Refer below image to open text file
Srini84
(Srinivas)
November 22, 2018, 10:15am
7
@indra tried like that, but i am not getting any output and process stops in 1 sec, as i need to pass /P to the file, we i need to pass that?
indra
(Indra)
November 22, 2018, 10:17am
8
@Srini84 Is it possible to attach your workflow
Srini84
(Srinivas)
November 22, 2018, 10:21am
9
.exe is in other drive where it is not possible to upload, I need to pass the parameter like this
C:\xls\xlsx.exe /P “Z:\New\abdulla_IO1.jpg”
PATH : C:\xls\xlsx.exe
parameter : /P
file path : Z:\New\abdulla_IO1.jpg
while we open run command and paste the same parameter it is working fine
indra
(Indra)
November 22, 2018, 10:23am
10
@Srini84 Can you share screenshot of start process which you have made