Action script passing parameter argument

I have this “action script” in the fixlet task

prefetch nfsmntadm
delete /tmp/nfsmntadm
delete /tmp/bftask_nfsmntadm.log
move __Download/nfsmntadm /tmp/nfsmntadm

// Set perms on sh script
wait chmod 755 /tmp/nfsmntadm

// Execute sh script
wait /tmp/nfsmntadm {parameter “script_argument” } >/tmp/bftask_nfsmntadm.log

// Cleanup
delete /tmp/nfsmntadm

And the “action xml” is like this.

cmd_argument=“this_is_command_argument_for_nfsmntadm”

Will the “cmd_argument” pass the value to variable “script_argument” and pass the value of “cmd_argument” to “nfsmntadm”.
This is first time I am doing this. I haven’t done this before.

Assuming cmd_argument is variable in your python code set to a string of the various arguments you want to use then, yes, {parameter "script_argument"} in your action script would be replaced by this string. You can verify the expected string is associated with the parameter by looking at the action details in the console:

Thanks Steve. Appreciate your response