コード例 #1
0
        public virtual void testQueryRemoveExecutionVariablesMapOperation()
        {
            // given
            process = runtimeService.startProcessInstanceByKey("oneTaskProcess");

            // when
            runtimeService.removeVariables(process.Id, createCollectionForVariableDeletion());

            // then
            verifyVariableOperationAsserts(1, org.camunda.bpm.engine.history.UserOperationLogEntry_Fields.OPERATION_TYPE_REMOVE_VARIABLE, org.camunda.bpm.engine.history.UserOperationLogEntry_Fields.CATEGORY_OPERATOR);
        }