mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
WCM Content Launch:
- submit process now allows for delayed submissions (launch date may be entered during submit) - in case of delayed submission, initiator is sent "submission pending" task with actions for cancelling submission and submitting now. On launch date, submission is made, removing "pending" task from initiator. - approved task is now submitted task Fixes to jBPM Timers: - fix to ensure task is ended when associated timer is fired - fix to ensure Alfresco transaction is active when triggered node action is executed git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -35,9 +35,21 @@
|
||||
</timer>
|
||||
</task>
|
||||
<transition name="cancel" to="end" /> <!-- signalling this transition will cancel timer -->
|
||||
<transition name="launched" to="end" /> <!-- signalling this transition will cancel timer -->
|
||||
<transition name="launched" to="doit" /> <!-- signalling this transition will cancel timer -->
|
||||
</task-node>
|
||||
|
||||
<node name="doit">
|
||||
<event type="node-enter">
|
||||
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
|
||||
<script>
|
||||
companyhome.name = companyhome.name + "b";
|
||||
logger.log("Company Home: " + companyhome.name);
|
||||
</script>
|
||||
</action>
|
||||
</event>
|
||||
<transition name="" to="end" />
|
||||
</node>
|
||||
|
||||
<end-state name="end" />
|
||||
|
||||
</process-definition>
|
Reference in New Issue
Block a user