Enabled the links management features in the submission dialog and workflow

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-06-18 14:32:56 +00:00
parent 6e0c406488
commit 494202c860

View File

@@ -16,7 +16,7 @@
<transition name="" to="initialise"/>
</start-state>
<node name="initialise">
<decision name="initialise">
<event type="node-enter">
<script>
<variable name="wcmwf_reviewCycle" access="write"/>
@@ -25,8 +25,31 @@
</expression>
</script>
</event>
<transition name="" to="serialorparallel"/>
</node>
<transition name="" to="serialorparallel" />
<transition name="checklinks" to="checklinks">
<condition>#{wcmwf_validateLinks != null &amp;&amp; wcmwf_validateLinks == true}</condition>
</transition>
</decision>
<!-- -->
<!-- Validate Links being submitted -->
<!-- -->
<decision name="checklinks">
<event type="node-enter">
<action class="org.alfresco.repo.avm.wf.AVMSubmitLinkChecker" />
</event>
<transition name="brokenlinkspresent" to="verifybrokenlinks" />
<transition name="nobrokenlinks" to="serialorparallel" >
<condition>#{wcmwf_brokenLinks == 0}</condition>
</transition>
</decision>
<task-node name="verifybrokenlinks">
<task name="wcmwf:verifyBrokenLinksTask" swimlane="initiator" />
<transition name="abort" to="end" />
<transition name="continue" to="serialorparallel" />
</task-node>
<!-- -->
<!-- Split into Serial or Parallel Review -->