Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
adding assets dynamically to a workflow
simond
has anyone had any success or attempted to dynamically add assets (ie: pages, files) to a workflow?
What we'd like to do is to initate a workflow and as part of the initial task, add all modified files from a nominated folder in the workarea to the workflow. So all that the editor needs to do is simply approve the workflow, there is no need for the author or editor to specifically add files to the workflow.
Sounds crazy I know but it's a legitimate business requriement... we are using Teamsite 5.01 but are soon to be upgrading to 6.1
thanks
Simon
Find more posts tagged with
Comments
iwovGraduate
The first task in your workflow can be a externaltask - which you can code to add all necessary files.
See documentation on WFtask - "perldoc TeamSite::WFtask". It has functions like AddFile, AddMultipleFiles, etc.
Adam Stoller
... plus you'll probably want to look at the
iwlistmod
command, it's output and how to parse it to achieve getting the list of files you want to add using the aforementioned
TeamSite::WFtask
methods
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com