Home
TeamSite
submit file in another folder to STAGING
kellyrmilligan
I am submitting a file via workflow, and in an external task, I grab a value from that dcr, which has a file name value in it, and attach that file to the workflow also. This other file is not getting to staging on teamsite though. basic info:
file being submitted is under templatedata directory,
file that also needs to be submitted to staging is in another directory, for example, htdocs, but in the same workarea. do I have to submit this file via command line to get it there?
Thanks,
Kelly
Find more posts tagged with
Comments
mgal
If the file is attached to the workflow it should get submitted to the staging area. Make sure that file is actually getting attached to the workflow. You can run iwgetfilejobs command line to make sure that the file is actually attached to a workflow.
HTH,
Mohammed Gazal.
kellyrmilligan
thanks, right now I am just using iwsubmit clt to force it to go, but I will try this to see anyway what is happening.
Kelly
jimbrooks
Kelly,
If you are attaching the DCR and the additional files in the first task (the latter as a result of some Perl reading the DCR XML and inserting <file...> tags dynamically, I would think), it seems like they should all be attached and therefore submitted in the final submittask. I would certainly appreciate if you respond how it worked out because because I am about to develop a similar solution ... I should be starting in the next day or to so if you don't figure it out maybe we could trade notes. Thanks,
Jim
kellyrmilligan
for now I am using iwsubmit clt. I am sticking with this for now, as I need to do some other development on things. let me know if you would like the code snippets.
Kelly
Adam Stoller
Are you sure that you are providing the correct area-relative-path to the other file when you are adding the file to the task? It's possible that your adding the file to the task is failing and you aren't checking the results to verify it, so that when you go to the submittask only the DCR is attached.
Also - are you sure the file you are attaching is modified - non-modified files will be ignored by the submit operation (modified also includes files that are in the workarea and have yet to be submitted)
--fish
(Interwoven Senior Technical Consultant)