I am running into some trouble with my JavaScript within my workflow. I am writing a simple one for now just to get used to the setup.The actual problem I am running into is that I make a simple workflow which includes a start event, end event, and user task. I amsetting my script to run whenever the workflow is started. I wrote the script just to perform a simple calculation and then display that answerto the logger. When I go to make changes to this script, it won't take the new changes. I'll show you here:
var myInt = 12334;
var myOut = myInt * 2;
logger.log(String(myOut));
When I run the workflow the first time it functions the way I expect. It prints out 24668 to the logger.But if I change something about the script, let's just say I change the number to be multiplied to 12.It still outputs 24668. Does anyone know what I'm doing wrong?