Live update of Groovy scripts created globally

1
0
-1

Hello,

It's possible via the Studio to create global groovy scripts and use them in the processes.

Each time you create a bar from the process that uses one of these scripts, a jar "groovyscripts.jar" is generated in the bar classpath, and when you deploy the bar, this jar is then stored in the dependency table and mapped to the process through the dependencymapping table.

The question is, how to live update these scripts?

Updating the database directly is a bad practice, are there any other cleaner options?

Thanks in advance,

1 answer

1
0
-1
This one is the BEST answer!

Hi Enrico,

No, there is no API that let you live update process dependencies. You should deploy a new version of your process with the updated script.

HTH

Romain

Notifications