So I am thinking, the user clicks this submit button, the output file is generated and deployed. If this has to be separated so that the user has to generate then click submit, that is ok.
Ok here is what I have, and the workflow disappeard and the submit button goes straight to the submit workflow[php] [/php]But on save I do get the option of deploying the file.