diff --git a/jbpm/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/canonical/ActivityGenerationModelTest.java b/jbpm/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/canonical/ActivityGenerationModelTest.java index ef979162bbf..55eda0b45ef 100644 --- a/jbpm/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/canonical/ActivityGenerationModelTest.java +++ b/jbpm/jbpm-bpmn2/src/test/java/org/jbpm/bpmn2/canonical/ActivityGenerationModelTest.java @@ -151,6 +151,7 @@ public void testUserTaskProcess() throws Exception { KogitoWorkItem workItem = workItemHandler.getWorkItem(); assertThat(workItem).isNotNull(); assertThat(workItem.getParameter("ActorId")).isEqualTo("john"); + assertThat(workItem.getParameter("fixedValue")).isEqualTo("pepe"); processInstance.completeWorkItem(workItem.getStringId(), null, SecurityPolicy.of(new StaticIdentityProvider("john"))); assertThat(processInstance.status()).isEqualTo(STATE_COMPLETED); } diff --git a/jbpm/jbpm-bpmn2/src/test/resources/BPMN2-UserTask.bpmn2 b/jbpm/jbpm-bpmn2/src/test/resources/BPMN2-UserTask.bpmn2 index 85e40725b68..8ec23a6c65f 100755 --- a/jbpm/jbpm-bpmn2/src/test/resources/BPMN2-UserTask.bpmn2 +++ b/jbpm/jbpm-bpmn2/src/test/resources/BPMN2-UserTask.bpmn2 @@ -1,64 +1,146 @@ - - - - - - - - - - - - - - - - - - john - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _1-_2 + + + + + + + + _1-_2 + _2-_3 + + + + + + _2_TaskNameInputX + _2_fixedValueInputX + _2_SkippableInputX + + + + _2_TaskNameInputX + + + + + + + _2_fixedValueInputX + + + + + + + _2_SkippableInputX + + + + + + + + john + + + + + + + + + + _2-_3 + + + - - - + + + - - + + - - + + - - - + + + - - - + + + - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + _1aP80Le_EDyttMyrW6hRzg + _1aP80Le_EDyttMyrW6hRzg + + \ No newline at end of file