Expression can only be evaluated inside the context of the process engine

Hi,
I want to evaluate the DMN table programatically.
I was trying to do a POC using unit test. Tried
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine(); ProcessEngineConfigurationImpl processEngineConfiguration = (ProcessEngineConfigurationImpl)processEngine.getProcessEngineConfiguration(); DmnEngine dmnEngine = processEngineConfiguration.getDmnEngine(); // Created dmnModelInstance DmnDecision decision = dmnEngine.parseDecisions(dmnModelInstance).get(0); VariableMap variables = Variables.fromMap(variableMap); DmnDecisionTableResult result = dmnEngine.evaluateDecisionTable(decision, variables);
It gives org.camunda.bpm.dmn.engine.impl.DmnEvaluationException: DMN-01002 Unable to evaluate expression for language 'juel': '${TotalAmt}'

Caused by: org.camunda.bpm.engine.ProcessEngineException: Expression can only be evaluated inside the context of the process engine at org.camunda.bpm.engine.impl.dmn.el.ProcessEngineElExpression.getValue(ProcessEngineElExpression.java:40) error.
Please tell me what can be the reason.