workflow JavaScript broken
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2015 01:21 PM
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 am
setting my script to run whenever the workflow is started. I wrote the script just to perform a simple calculation and then display that answer
to the logger. When I go to make changes to this script, it won't take the new changes. I'll show you here:
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?
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 am
setting my script to run whenever the workflow is started. I wrote the script just to perform a simple calculation and then display that answer
to 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?
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2015 11:08 AM
Have you tried redeploying your workflow?
