diff --git a/imixs-workflow-engine/src/test/java/org/imixs/workflow/plugins/TestSplitAndJoinPlugin.java b/imixs-workflow-engine/src/test/java/org/imixs/workflow/plugins/TestSplitAndJoinPlugin.java index 218057dda..7d945b6bd 100644 --- a/imixs-workflow-engine/src/test/java/org/imixs/workflow/plugins/TestSplitAndJoinPlugin.java +++ b/imixs-workflow-engine/src/test/java/org/imixs/workflow/plugins/TestSplitAndJoinPlugin.java @@ -191,7 +191,7 @@ public void testCreateSubProcessWithFile() throws ModelException { try { - documentActivity = workflowMockEnvironment.getModel().getEvent(100, 60); + documentActivity = workflowMockEnvironment.getModel().getEvent(100, 61); splitAndJoinPlugin.run(documentContext, documentActivity); } catch (PluginException e) { @@ -427,7 +427,6 @@ public void testUpdateSubProcess() throws ModelException { @SuppressWarnings("unchecked") @Test public void testCreateSubProcessCopyItemByRegex() throws ModelException { - try { documentActivity = workflowMockEnvironment.getModel().getEvent(100, 70); splitAndJoinPlugin.run(documentContext, documentActivity); @@ -436,7 +435,6 @@ public void testCreateSubProcessCopyItemByRegex() throws ModelException { e.printStackTrace(); Assert.fail(); } - Assert.assertNotNull(documentContext); // load the new subprocess.... @@ -447,9 +445,7 @@ public void testCreateSubProcessCopyItemByRegex() throws ModelException { Assert.assertEquals("manfred", subprocess.getItemValue("namTeam", String.class)); Assert.assertEquals("ronny", subprocess.getItemValue("namcreator", String.class)); - Assert.assertEquals("", subprocess.getItemValueString("$snapshotid")); - // ("$snapshotid", "11112222"); // test the deprecated LIst List workitemRefListDeprecated = documentContext.getItemValue("txtworkitemref"); diff --git a/imixs-workflow-engine/src/test/resources/bpmn/TestSplitAndJoinPlugin.bpmn b/imixs-workflow-engine/src/test/resources/bpmn/TestSplitAndJoinPlugin.bpmn index c8ec96a59..dea8297a2 100644 --- a/imixs-workflow-engine/src/test/resources/bpmn/TestSplitAndJoinPlugin.bpmn +++ b/imixs-workflow-engine/src/test/resources/bpmn/TestSplitAndJoinPlugin.bpmn @@ -1,6 +1,6 @@ - + @@ -120,6 +120,7 @@ SequenceFlow_13 SequenceFlow_4 SequenceFlow_17 + SequenceFlow_19 @@ -162,6 +163,7 @@ SequenceFlow_14 SequenceFlow_11 SequenceFlow_18 + SequenceFlow_20 SequenceFlow_9 @@ -294,204 +296,252 @@ + + + + false + + + + + + + + + + + + 1.0.0 + 100 + 10 + $file,namTeam|_sub_team,$workflowsummary|_parentworkflowsummary + +]]> + + + <b>Submitt</b> new ticket + SequenceFlow_19 + SequenceFlow_20 + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - + + + - - - + + + - - - + + + + + + + + + + + + + + + + + +