camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.12k stars 1.56k forks source link

Support FEEL Scala Engine as integrated Script Engine #2384

Open ThorbenLindhauer opened 4 years ago

ThorbenLindhauer commented 4 years ago

This issue was imported from JIRA:

Field Value
JIRA Link CAM-11288
Reporter @tasso94
Has restricted visibility comments true

Description

AT

Hints: Until this is part of the codebase, this can be made to work by adding the below in a text file called org.camunda.feel.valuemapper.CustomValueMapper under META-INF/services/:

org.camunda.feel.impl.JavaValueMapper
org.camunda.spin.plugin.impl.feel.integration.SpinValueMapper

This adds two additional SPIs:

For example:

Links:

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user @tasso94


Pull request: https://github.com/camunda/camunda-bpm-platform/pull/810

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user OK77Jow

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Hello  @Tassilo and/or @Thorben,

what is the current status ? Is there a chance to get this feature officially supported in 7.14 ?

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user @tasso94


Hi OK77Jow,

This feature is currently not scheduled for implementation.

As an enterprise customer, feel free to create a support case of type feature request so our product management can have a look.

Best, Tassilo

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user OK77Jow

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Hi @Tassilo,

you already got my point :).

 

The thing is, I need this feature support for Camunda 7.13![]( So basically, I do not want to push this feature for 7.14 but for 7.13 (backport?))

Please give me some advice how we can proceed? Is there a realistic chance to get this feature for 7.13 ?

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user @tasso94


Hi OK77Jow,

Usually, we only backport bug fixes.

Best, Tassilo

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user OK77Jow

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Hi Tassilo,

I created corresponding tickets SUPPORT-8802 (Backport to 7.13) and SUPPORT-8803 (finalize for 7.14)  

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user NYBzR2x

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Hey @garima-camunda, could you take a moment to show the customer how to set up the usage of the feel scripting engine following this article?

You can read about it here: https://camunda.com/blog/2020/05/camunda-bpm-user-task-assignment-based-on-a-dmn-decision-table/

Specifically, the part at the end of the article explains how to enable the usage of the feel scripting engine.

"For this approach to work, as of version 7.13.0-alpha4, Camunda still requires the registration of a customer value mapper. The mapper is registered by placing a text file called org.camunda.feel.valuemapper.CustomValueMapper with the content: org.camunda.feel.impl.JavaValueMapper into the folder: META_INF/services.

This step will likely no longer be required in newer versions."

Thank you! :) In case you have any questions, feel free to approach me or Tasso for clarifications.

ThorbenLindhauer commented 4 years ago

This comment was imported from JIRA and written by user OK77Jow

What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.


Hello @Andre,

thanks for your help. We have already set this up.

 

Still: there are some problems with FEEL <-> SPIN integration that worked perviously in 7.12 (community feel engine plugin) but not in 7.13 (new feel engine). 

jonathanlukas commented 1 year ago

There is a possible relation to Camunda 8.2 supporting embedded feel scripts.

Context: https://camunda.slack.com/archives/C6M6X3EKZ/p1674651738425669