# Camunda 8 - Script Task Migration

**URL:** <https://forum.camunda.io/t/camunda-8-script-task-migration/49203>\
**Category:** Camunda 8 Topics\
**Tags:** zeebe, camunda-8\
**Created:** [December 5, 2023, 11:02am UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203 "2023-12-05T11:02:32Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 5, 2023, 11:02am UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/1 "2023-12-05T11:02:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Niall](https://forum.camunda.io/user_avatar/forum.camunda.io/niall/32/15333_2.png) [@Niall](https://forum.camunda.io/u/Niall)\
**Post date:** [December 5, 2023, 4:16pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/2 "2023-12-05T16:16:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 5, 2023, 4:27pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/3 "2023-12-05T16:27:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Niall](https://forum.camunda.io/user_avatar/forum.camunda.io/niall/32/15333_2.png) [@Niall](https://forum.camunda.io/u/Niall)\
**Post date:** [December 5, 2023, 5:38pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/4 "2023-12-05T17:38:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 5, 2023, 6:05pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/5 "2023-12-05T18:05:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vinothkumar](https://forum.camunda.io/user_avatar/forum.camunda.io/vinothkumar/32/17411_2.png) [@vinothkumar](https://forum.camunda.io/u/vinothkumar)\
**Post date:** [December 6, 2023, 9:48am UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/6 "2023-12-06T09:48:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Niall](https://forum.camunda.io/user_avatar/forum.camunda.io/niall/32/15333_2.png) [@Niall](https://forum.camunda.io/u/Niall)\
**Post date:** [December 7, 2023, 7:50am UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/7 "2023-12-07T07:50:02Z")

</div>

Your best bet is to look up the FEEL docs

> **[Get Started | FEEL-Scala](https://camunda.github.io/feel-scala/docs/reference/)**
>
> Welcome to the documentation of the FEEL-Scala engine!

and

> **[What is FEEL? | Camunda 8 Docs](https://docs.camunda.io/docs/components/modeler/feel/what-is-feel/)**
>
> FEEL is a part of DMN specification of the Object Management Group.

---

<div class="post-metadata">

**Author:** ![Max\_CapBPM](https://forum.camunda.io/user_avatar/forum.camunda.io/max_capbpm/32/16595_2.png) [@Max\_CapBPM](https://forum.camunda.io/u/Max_CapBPM)\
**Post date:** [December 12, 2023, 2:34pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/8 "2023-12-12T14:34:13Z")

</div>

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.

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

```

it becomes this.

```auto

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.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [December 12, 2023, 4:19pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/9 "2023-12-12T16:19:12Z")

</div>

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? 😁)

---

<div class="post-metadata">

**Author:** ![Max\_CapBPM](https://forum.camunda.io/user_avatar/forum.camunda.io/max_capbpm/32/16595_2.png) [@Max\_CapBPM](https://forum.camunda.io/u/Max_CapBPM)\
**Post date:** [December 12, 2023, 4:26pm UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/10 "2023-12-12T16:26:04Z")

</div>

[CapBPM.com](http://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?

---

<div class="post-metadata">

**Author:** ![Ingo\_Richtsmeier](https://forum.camunda.io/user_avatar/forum.camunda.io/ingo_richtsmeier/32/25968_2.png) [@Ingo\_Richtsmeier](https://forum.camunda.io/u/Ingo_Richtsmeier)\
**Post date:** [December 13, 2023, 9:19am UTC](https://forum.camunda.io/t/camunda-8-script-task-migration/49203/11 "2023-12-13T09:19:04Z")

</div>

Hi @Max_CapBPM,

Here is the starting point to submit your connector to the Camunda marketplace: [Camunda Marketplace | Camunda](https://marketplace.camunda.com/en-US/pages/submitConnector)

Hope this helps, Ingo
