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)
perl
eylife
Hi,
Is there a way I can read the current branch or workarea in my custom perl module using any .pm provided by TeamSite.
Thank you
Satish
Find more posts tagged with
Comments
Adam Stoller
You need to provide a lot more context here.
What version of TeamSite? (including SPs)
In what context is the Perl script being run: custom menu item? externaltask? cgitask? other??
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
eylife
We are using
TS : 6.1.0 Service Pack 1
OS : SunOS 5.8
I am trying to configure a workflow to read configuration files (like email templates, email ids etc) from different config branches from where the workflow is triggered.
Branching structure:
main
default
Test1
config
product1
Test2
config
product2
For example, if the users for product1 branch starts the workflow, i would able to read the config files from Test1/config branch.
Thanks in advance.
jbonifaci
__VALUE__(iw_workarea);
Adam Stoller
As jbonifaci points out - you can use __VALUE__('iw_workarea'); within the WFT code itself.
If you're doing it within an externaltask or cgitask script - once you create the task object (using TeamSite::WFtask) you can access the areavpath from that object with $task->GetArea()
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com