@Before public void setUp() { processEngineConfiguration = engineRule.getProcessEngineConfiguration(); identityService = engineRule.getIdentityService(); caseService = engineRule.getCaseService(); historyService = engineRule.getHistoryService(); testRule.deployForTenant(TENANT_ONE, CMMN_MODEL); caseInstanceId = createCaseInstance(null); caseExecutionId = getCaseExecution().getId(); }
@Before public void setUp() { decisionService = engineRule.getDecisionService(); repositoryService = engineRule.getRepositoryService(); historyService = engineRule.getHistoryService(); identityService = engineRule.getIdentityService(); testRule.deployForTenant(TENANT_ONE, DISH_DRG_DMN); decisionService .evaluateDecisionByKey(DISH_DECISION) .decisionDefinitionTenantId(TENANT_ONE) .variables( Variables.createVariables().putValue(TEMPERATURE, 21).putValue(DAY_TYPE, WEEKEND)) .evaluate(); }