camunda-community-hub / camunda-7-to-8-migration

A collection of tools to support migration from Camunda Platform 7 to Camunda Platform 8
Apache License 2.0
32 stars 14 forks source link

Bug: ScriptTask conversion uses scriptFormat header instead of language #498

Open jonathanlukas opened 1 year ago

jonathanlukas commented 1 year ago

Describe the bug

If a script task is converted, the header used to define the scripting language is scriptFormat, just like it was in Camunda 7. This is not compatible with the zeebe-script-worker which requires language

Steps to reproduce

  1. Define a Camunda 7 script task with inline script and script format
  2. Convert it
  3. The scriptFormat has become the header scriptFormat
  4. Run the process with the zeebe-script-worker
  5. it fails as no language is present

Expected Behaviour

The scriptFormat is translated to language

Library version

0.6.1

Camunda Platform 7 version

7.20.0

Camunda Platform 8 version

8.3.0

ingorichtsmeier commented 10 months ago

As a follow-up: I've seen the issue mentioned in the release 0.8.0, and I'm wondering if the dependency to the script-worker, that is introduced here, is documented anywhere?

Maybe it's worth to provide an example for script migration? And explain which docker contain to integrate to the cluster.