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)
DCR submit with External Task to DD File problem
System
I have a simple workflow that has and External and an End Task and is initiated by a save DCR (tt_data). The external task calls a perl script I have written which in turn calls iwdd.ipl to datadeploy the DCR to the Staging DB (Note I am not using DAS as I have a User-defined Schema and only a single Workarea).
My problem is how do I know, and pass onto iwdd.ipl which category/type and even DCR that I want to deploy ?
Are these values not passed to the Workflow from the DCT somehow ? Is this via 'files', because when I do GetFiles in my 'wrapper' perl script I get nothing.
Must I do a Submit Task first ?
Many thanks in advance
/Nick
Find more posts tagged with
Comments
Migrateduser
The DCR should be available to your WFT via the POST parameters. (See the manual for details.) You can then add the file to your task (at job creation time) with a <files> tag. The external task should then be able to retrieve its associated file(s).
The category and type, if you need them, are available as an extended attribute on the DCR.
Brinko Kobrin
Interwoven Staff Engineer
Migrateduser
thanks Brinko for the tip.
I'm trying to see what POST/GET paramters I get, by using the show_env.cgi but I don't seem to get any response.
Does it print to the screen or a log file ?
Cheers
Nick
Migrateduser
The show_env.cgi is intended for use in a CGI task. It shows (in your browser) the environment at task execution time.
The POST parameters available for job creation (used by the WFT) are described in the workflow developer's guide. You can see most of them as hidden fields if you "View Source" from your browser while viewing the job creation form.
Brinko Kobrin
Interwoven Staff Engineer