In Camunda Platform 7 one could choose to implement scripts ‘in line’ in the process definition. While this was not a ‘best practice’ and was discouraged for maintainability, it was still a simple option for small problems.
In the original version of the CandyCam project, I used in-line scripts to add Candy to the process at various times. In my defense, I didn’t know any better, and it was the easiest way to make it work.
With Camunda Platform 8 SaaS there were no longer any options for in-line scripts. Frankly, that’s a good thing in my opinion. But it does mean that you have to find a new way to handle these relatively simple tasks. In this exercise we will implement a simple script worker in Golang.