Integration Test with Process Engine and Feel-scala plugin

We try to create an integration test of a spring boot application with process Engine and the feel-scala dmn engine.

We use the ProcessEngineRule and the dmn gets triggered correctly. But it always seems that the used dmn engine is not the feel-scala engine.

With the following code we try to add the plugin to the used process engine… But finally it does not behave like the standalone feel-scala engine when evaluating the decision.

CamundaFeelEnginePlugin camundaFeelEnginePlugin = new CamundaFeelEnginePlugin();
        camundaFeelEnginePlugin.setDefaultInputEntryExpressionLanguage("feel-scala-unary-tests");
        camundaFeelEnginePlugin.setDefaultOutputEntryExpressionLanguage("feel-scala");
        camundaFeelEnginePlugin.setDefaultLiteralExpressionLanguage("feel-scala");
        processEngine.getProcessEngineConfiguration().getProcessEnginePlugins().add(camundaFeelEnginePlugin);

We are using feel-scala engine and Plugin in version 1.10.1 and camunda bpm version 7.10.0

What’s wrong?

Kind regards
David

Hi @davidibl,

I recommend to update to Camunda 7.13.0-alpha2. It includes the Feel-Scala engine by default.

It this an option for you?

Best regards,
Philipp

1 Like

Hi Philipp,

sounds good. But in this particular case that’s not possible. Due to production date we don’t want to migrate to next version currently in alpha stadium.

Kind regards
David