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)
branch_list question
Paul
I have the following section in my available_templates.cfg file
<template_file name='CHC Health Advocate File Content Workflow' path='custom/CHC_HAFile_workflow.wft'>
<command_list>
<command value='new_job' />
<command value='all' include='no' />
</command_list>
<branch_list>
<branch value='CHC_HealthAdvocate' include='yes' />
<branch value='all' include='no' />
</branch_list>
</template_file>
<template_file name='CHC Health Advocate Data Content Workflow' path='custom/CHC_HAData_workflow.wft'>
<command_list>
<command value='new_job' />
<command value='all' include='no' />
</command_list>
<branch_list>
<branch value='CHC_HealthAdvocate' include='yes' />
<branch value='all' include='no' />
</branch_list>
</template_file>
These jobs both show up as expected, BUT...
When I am in a directory nam,ed secure I am also seeing all of the workflows for a Sub-branch named Secure which is a sub-branch of a different parent branch.
I have tried to further limit this by adding more specific lines such as
<branch_list>
<branch value='CHC_HealthAdvocate' include='yes' />
<branch value='CHC_HealthAdvocate/secure' include='yes' />
<branch value='Secure' include='no' />
<branch value='all' include='no' />
But that didn't work either.
The section that is supposed to display workflows in Secure looks like:
<template_file name='Standard Workflow' path='custom/standard_workflow.wft'>
<command_list>
<command value='new_job' />
<command value='all' include='no' />
</command_list>
<branch_list>
<branch value='Documentation\WORKAREA\content\guidelines' include='yes' />
<branch value='SearchPatterns' include='yes' />
<branch value='Retirement' include='yes' />
<branch value='HealthCare' include='yes' />
<branch value='International' include='yes' />
<branch value='Secure' include='yes' />
<branch value='Working' include='yes' />
<branch value='CrossDiv' include='yes' />
<branch value='all' include='no' />
</branch_list>
</template_file>
</branch_list>
Any insight would be appreciated.
Find more posts tagged with
Comments
Adam Stoller
Ah - the fun of it all. The branch_list values for New Job are handed the full areavpath to the location where you are when you launched the New Job - and thus it includes subdirecotires.
The branch_list values for Submit are only handed the branch areavpath and not the workarea or directory paths (this has been cited many times as a mis-feature)
If you only want the Secure workflow to show up for Secure branches - you need to supply a more detailed branch-path specification for it - like: /main/Secure or /main/****/Secure, etc.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com