mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
12984: Sharepoint: Build fix after recent change to SiteService and bumped module version to 1.1 12997: (RECORD ONLY - Already merged) Added home property to start scripts; updated readmes; updated installers 13140: Merged V3.0 to V3.1 13138 Merged V2.2 to V3.0 13133: Fix ETWOTWO-1078: wcm submit does not complete when using Oracle 13146: Merged V3.0 to V3.1 13052: CIFS throws a NullPointerException if a non-relative path is received for a folder search. JLAN-69 13147: Updated svn:mergeinfo 13151: (RECORD ONLY) Changed labs -> enterprise for distribution bundles 13157: Partial fix for ETHREEOH-1277 - fixes usage of Application.getMessage() ___________________________________________________________________ Modified: svn:mergeinfo Merged /alfresco/BRANCHES/V3.0:r13052,13138 Merged /alfresco/BRANCHES/V2.2:r13133 Merged /alfresco/BRANCHES/V3.1:r12984,12997,13140,13146-13147,13151,13154,13157 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90 lines
3.4 KiB
XML
90 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Workflow to support direct submit to staging sandbox -->
|
|
|
|
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wcmwf:submitdirect">
|
|
|
|
<swimlane name="initiator"/>
|
|
|
|
<!-- -->
|
|
<!-- Start Review -->
|
|
<!-- -->
|
|
|
|
<start-state name="start">
|
|
<task name="wcmwf:submitDirectTask" swimlane="initiator"/>
|
|
<transition name="" to="submitted"/>
|
|
</start-state>
|
|
|
|
<task-node name="submitted" end-tasks="true">
|
|
<task name="wcmwf:submittedDirectTask" swimlane="initiator">
|
|
<timer duedate="5 seconds" transition="onsubmit">
|
|
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
|
|
<script>
|
|
logger.log("WCM Submit Process: Triggering submit for " + bpm_workflowDescription);
|
|
</script>
|
|
</action>
|
|
</timer>
|
|
|
|
<event type="task-end">
|
|
<script>
|
|
<variable name="submitfailed" access="write"/>
|
|
<expression>submitfailed = false;</expression>
|
|
</script>
|
|
|
|
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
|
|
<script>
|
|
logger.log("WCM Submit Process: Start submit for " + bpm_workflowDescription + " (by " + person.properties.userName + ")");
|
|
</script>
|
|
</action>
|
|
|
|
<action class="org.alfresco.repo.avm.wf.AVMSubmitPackageHandler"/>
|
|
<action class="org.alfresco.repo.avm.wf.AVMDeployHandler"/>
|
|
|
|
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
|
|
<script>
|
|
logger.log("WCM Submit Process: End submit for " + bpm_workflowDescription + " (by " + person.properties.userName + ")");
|
|
</script>
|
|
</action>
|
|
</event>
|
|
</task>
|
|
<transition name="onsubmit" to="checkfailedsubmit">
|
|
<exception-handler>
|
|
<script>
|
|
<variable name="submitfailed" access="write"/>
|
|
<expression>
|
|
logger.log("WCM Submit Process: Submit failed for " + bpm_workflowDescription + " (by " + person.properties.userName + ")");
|
|
submitfailed = true;
|
|
</expression>
|
|
</script>
|
|
</exception-handler>
|
|
</transition>
|
|
</task-node>
|
|
|
|
<decision name="checkfailedsubmit">
|
|
<transition name="failure" to="submitfailed">
|
|
<condition>#{submitfailed == true}</condition>
|
|
</transition>
|
|
<transition name="success" to="end">
|
|
<condition>#{submitfailed == false}</condition>
|
|
</transition>
|
|
</decision>
|
|
|
|
<task-node name="submitfailed">
|
|
<task name="wcmwf:submitfailedTask" swimlane="initiator"/>
|
|
<transition name="" to="end"/>
|
|
</task-node>
|
|
|
|
<!-- -->
|
|
<!-- End the Process -->
|
|
<!-- -->
|
|
|
|
<end-state name="end"/>
|
|
|
|
<event type="process-end">
|
|
<action class="org.alfresco.repo.avm.wf.AVMRemoveAllSrcWebappsHandler"/>
|
|
<action class="org.alfresco.repo.avm.wf.AVMReleaseTestServerHandler"/>
|
|
<action class="org.alfresco.repo.avm.wf.AVMRemoveWFStoreHandler"/>
|
|
</event>
|
|
|
|
</process-definition>
|