I'm trying to parameterise the path of the script being called in execute command activity . But it is not allowing to have a parameter in the command option.
Is there any other alternative for it making it a variable ?
Ex : /home/dsadm/test_script.sh to #SCRIPT_DIR#test_script.sh
can the absolute path of a script be a variable ?
Moderators: chulett, rschirm, roy
Re: can the absolute path of a script be a variable ?
Hi,mouni wrote:I'm trying to parameterise the path of the script being called in execute command activity . But it is not allowing to have a parameter in the command option.
Is there any other alternative for it making it a variable ?
Ex : /home/dsadm/test_script.sh to #SCRIPT_DIR#test_script.sh
I dont think we can use a paramter in the command option.
You can try this:
Create a basic routine which will first 'prepare' the command using the
parameters passed and then execute the command in the routine.