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)
A particular DCR not trigerring WorkFlow
cliffhanger
Hi,
I am using TS6.1. In one of my data-type, all the dcrs invole new_job WF(s), except for one. That exceptional DCR invokes submit wrkflow instead. I checked if there's any job associated with that DCR, and there is none. I have no clue about this bizzarre behavior. Has anyone faced this issue, or have any speculation of what might be causing this?
Thanks
-cliffhanger
Find more posts tagged with
Comments
Migrateduser
Perhaps you could attach your available_templates.cfg and provide some detail as to which DCR is the exception.
Dave
Current Environment(s):
(1) TS 6.1 SP1 on W2K3
(2) TS 6.1 SP1 on W2K
(3) TS 5.5.2 SP2 on Win2K
Migrateduser
Are you doing any sort of branch regex based exclusion/inclusion? Possibly the data-type of your template is matching against a regex that you intended to match against a branch.
cliffhanger
Hi Dave,
Here is how the templating.cfg entry looks like for that catgeory:
<category name="Media_Library">
<locations>
<branch vpath-regex="/default/main/XYZ/XYZ_Dev" />
<branch vpath-regex="/default/main/XYZ" />
</locations>
<data-type name="Media_Library_Home_Page" dcr-type="iwov">
<presentation>
<template name="Media_Library_Home_Page.tpl" extension="html">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex="" />
</branch>
</locations>
</template>
</presentation>
</data-type>
<data-type name="LOB_Media_Library_Pages" dcr-type="iwov">
<presentation>
<template name="Media_Library_Pages.tpl" extension="html">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex=""/>
</branch>
</locations>
</template>
</presentation>
</data-type>
<data-type name="GD_Media_Library_Pages" dcr-type="iwov">
<presentation>
<template name="dummy" extension="htm">
<locations>
<branch vpath-regex=".*" preview-dir="/">
<directory dir-regex="" />
</branch>
</locations>
</template>
</presentation>
</data-type>
</category>
The available template entry looks like:
<template_file name="Approval Workflow" path="XYZ/Dev/Approval_Workflow.wft">
<command_list>
<command value="tt_data">
</command>
<command value="new_job">
</command>
<command value="all" include="no">
</command>
</command_list>
<role_list>
<role value="all" include="yes" allusers="yes">
</role>
</role_list>
<branch_list>
<branch value="all" include="no"/>
<branch value=".*/ABC/" include="no"/>
<branch value=".*/XYZ_Dev" include="yes"/>
</branch_list>
</template_file>
This workflow gets kicked off for all DCRs under LOB_Media_Library_Page except for a DCR called "AAA_BBB"
The data folder of GD_Media_Library_Pages contains subdirectories with the DCR names of LOB_Media_Library_Page data-type. The DCRS in GD_Media_Library_Pages/data/AAA_BBB/ also invokes the submit workflow upon clicking finish instead of the approval workflow.
Any idea what I am missing here?
Thanks folks!!
-cliffhanger