mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -16,7 +16,7 @@
|
|||||||
<transition name="" to="initialise"/>
|
<transition name="" to="initialise"/>
|
||||||
</start-state>
|
</start-state>
|
||||||
|
|
||||||
<node name="initialise">
|
<decision name="initialise">
|
||||||
<event type="node-enter">
|
<event type="node-enter">
|
||||||
<script>
|
<script>
|
||||||
<variable name="wcmwf_reviewCycle" access="write"/>
|
<variable name="wcmwf_reviewCycle" access="write"/>
|
||||||
@@ -25,8 +25,31 @@
|
|||||||
</expression>
|
</expression>
|
||||||
</script>
|
</script>
|
||||||
</event>
|
</event>
|
||||||
<transition name="" to="serialorparallel"/>
|
<transition name="" to="serialorparallel" />
|
||||||
</node>
|
<transition name="checklinks" to="checklinks">
|
||||||
|
<condition>#{wcmwf_validateLinks != null && 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 -->
|
<!-- Split into Serial or Parallel Review -->
|
||||||
|
Reference in New Issue
Block a user