Camunda 8 - Script Task Migration

Hi @jonathan.lukas ,
I done the migration of bpmn for script task. But the execution flow is getting stuck at the script task level in camunda 8 same is working fine in camunda 7. Do I need to do anything manually from my side.
Could you please help me on this ?
I don’t see any forum commands or documentation of migration about script task from camunda 7.19 to camunda 8.3.
If you have any please share me

Is the code for your your script tasks embedded in the BPMN model?

Thanks for the reply @Niall ,
Yes. I have the inline script in Camunda 7.19 and migrated to 8.3.
Logic:
Just getting the variable and based on the business logic updating the variable. That’s all . Not much

Sounds like it could be converted to FEEL and then you can use script tasks as before.

@Niall
Can you plz give me some example . github repo if you have handy for getting variable and doing some logic with that variable

@Niall ,
Can you please help on this with some good example

Your best bet is to look up the FEEL docs

and

Hey @vinothkumar! You probably already know this, but you can’t readily use JavaScript in C8(yet). So, in order to migrate your javacript tasks, you need to use FEEL. for example, if you had something really simple like this.

if (customerCreditScore > 500 && income > 100000) {
  isApproved = true;
}

it becomes this.


if customerCreditScore > 500 and income > 100000 then true else false

I had considered trying to start a JS to FEEL convertor, but I suspect that a limited JS will be added back into C* soon.

Hey Max! While we never know what the more distant future holds, there aren’t any plans on the table to support executing scripts within Zeebe. There are a lot of security and performance concerns around having brokers execute unsafe code, concerns that C7 didn’t have due to its embedded/standalone architecture.

I admit, I don’t know if this is something we are already working on yet, but I think a Connector that does script execution would be fantastic. (Any community members want to jump on that one? :grin:)

1 Like

CapBPM.com would be down for that. We have 15 certified Camunda engineers who are bright eye-ed and bushytailed. Let’s talk about how it work?

Hi @Max_CapBPM,

Here is the starting point to submit your connector to the Camunda marketplace: Camunda Marketplace | Camunda

Hope this helps, Ingo

1 Like