mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- jBPM 3.1.2 to 3.2 upgrade
- Implementation of Workflow Timers (primarily for WCM content launch, but also useful in other scenarios) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
24
source/test-resources/jbpmresources/test_processevents.xml
Normal file
24
source/test-resources/jbpmresources/test_processevents.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="test_processevents">
|
||||
|
||||
<event type="process-start">
|
||||
<script>
|
||||
System.out.println("Process start");
|
||||
</script>
|
||||
</event>
|
||||
|
||||
<start-state name="start">
|
||||
<transition to="end"/>
|
||||
</start-state>
|
||||
|
||||
<end-state name="end"/>
|
||||
|
||||
<event type="process-end">
|
||||
<script>
|
||||
if (cancelled) { System.out.println("cancelled"); }
|
||||
System.out.println("Process end: " + cancelled);
|
||||
</script>
|
||||
</event>
|
||||
|
||||
</process-definition>
|
Reference in New Issue
Block a user