Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Attaching a File in New Job
gsumers22texas
looking for guidance on how to do the following:
want to provide a field in the New Job panel for a user to specify a file (before the instantiation) and attach it to the job with the instantiation. The TAG_info code to put it into the New Job form seems straightforward enough, but how to attach it? where would this code exist? in the <template_script> section or in a first <external> tasks in the <workflow> section? CLT iwaddtaskfile seems promising, except for "...to a job already created..." in the description of it in the CLT manual.
Ideally the attached file would be available in the first usertask for the assigned author to "Edit File" in the Workflow UI and thus bypass the Templating navigation requirements (given it's a pre-existing DCR, then Templating would open due to the EAs)
thanks in advance for any help
Find more posts tagged with
Comments
Migrateduser
I'm not exactly sure what it is you're trying to accomplish, but why can't you just use the <files> element in the initial task to add the entered filename to the job? I guess I'm not sure why you need to enter the filename in place of simply selecting the file you want to add to the job prior to kicking off the job. Is it some kind of weird Templating thing? I don't use Templating at all, so it's all weird to me
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
gsumers22texas
wow you reply fast!
I was just coming back onto devnet to post a reply to my post- I didn't realize that Work Order had this function already (select a file in TeamSite, then hit New Job) and it does exactly what I was seeking- very cool
the "# Retrieve any pre-selected files" section in the wft had previously escaped my attention
thanks again for the quick reply
Migrateduser
Hey, anyone that uses work_order.wft gets my complete attention
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com