Java Code Examples for org.camunda.bpm.engine.delegate.ExecutionListener#EVENTNAME_END
The following examples show how to use
org.camunda.bpm.engine.delegate.ExecutionListener#EVENTNAME_END .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SetBusinessKeyTest.java From camunda-bpm-platform with Apache License 2.0 | 6 votes |
@Test public void testNewKeyInEndExecListener() { // given String listener = ExecutionListener.EVENTNAME_END; BpmnModelInstance process = createModelExecutionListener(listener); testRule.deploy(process); String newBusinessKeyValue = "newBusinessKey"; runtimeService.startProcessInstanceByKey(PROCESS_KEY, Variables.createVariables().putValue(BUSINESS_KEY_VARIABLE, newBusinessKeyValue)); completeTask("userTask1"); // assume assertNotNull(taskService.createTaskQuery().taskDefinitionKey("userTask2").singleResult()); // then checkBusinessKeyChanged(newBusinessKeyValue); }
Example 2
Source File: SetBusinessKeyTest.java From camunda-bpm-platform with Apache License 2.0 | 6 votes |
@Test public void testUpdateKeyInEndExecListener() { // given String listener = ExecutionListener.EVENTNAME_END; BpmnModelInstance process = createModelExecutionListener(listener); testRule.deploy(process); String newBusinessKeyValue = "newBusinessKey"; runtimeService.startProcessInstanceByKey(PROCESS_KEY, "aBusinessKey", Variables.createVariables().putValue(BUSINESS_KEY_VARIABLE, newBusinessKeyValue)); completeTask("userTask1"); // assume assertNotNull(taskService.createTaskQuery().taskDefinitionKey("userTask2").singleResult()); // then checkBusinessKeyChanged(newBusinessKeyValue); }
Example 3
Source File: PvmAtomicOperationFireActivityEnd.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
protected String getEventName() { return ExecutionListener.EVENTNAME_END; }
Example 4
Source File: PvmAtomicOperationActivityNotifyListenerEnd.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
protected String getEventName() { return ExecutionListener.EVENTNAME_END; }
Example 5
Source File: PvmAtomicOperationProcessEnd.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
protected String getEventName() { return ExecutionListener.EVENTNAME_END; }
Example 6
Source File: PvmAtomicOperationTransitionNotifyListenerEnd.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
protected String getEventName() { return ExecutionListener.EVENTNAME_END; }
Example 7
Source File: PvmAtomicOperationDeleteCascadeFireActivityEnd.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
protected String getEventName() { return ExecutionListener.EVENTNAME_END; }