- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 07:52 PM
Hi all,
I am getting the below error when attempting to create any workflow activity in a new workflow:
Error MessageonSubmit script error: ReferenceError: EncryptedVariable is not defined:
function onSubmit() {
if (g_form.getViewName() != 'diagrammer')
return;
var encryptedVariable = new EncryptedVariable($j);
return encryptedVariable.submitEncryptedInputs();
}
I've tried changing the view from Diagrammer to Default and still get the same error.
I am on Jakarta Patch 4 and working in Chrome.
This is the first workflow I have attempted to create since upgrading.
Any help would be appreciated.
Thanks
Sean
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 07:59 PM
Hello Sean,
You may find the below thread helpful.
receiving error on activity creation in helsinki version

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 07:59 PM
Hello Sean,
You may find the below thread helpful.
receiving error on activity creation in helsinki version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 08:47 PM
Thank Pradeep, that sorted me out. I'm surprised the article wasn't returned when I searched on the error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2017 09:18 PM
You are very welcome Sean.
Let me know if that answered your question. If so, please mark the response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list. Thank you
How To Mark Answers Correct From Community Inbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 12:25 AM - edited 05-09-2023 12:27 AM
Hello Pradeep (or anyone else),
I have similar problem, but the linked thread is no longer available, and I couldn't find any other solution/article/etc..
I'm in Utah, and my error message looks like this:
onSubmit script error: ReferenceError: EncryptedVariable is not defined:
function onSubmit() {
if (g_form.getActionName() == "sysverb_view_change")
return;
if (g_form.getViewName() != 'diagrammer')
return;
var encryptedVariable = new EncryptedVariable($j);
return encryptedVariable.submitEncryptedInputs();
}
Can you please (or anyone) help me to get through this? I can't build workflow because of this 😞
Thanks in advance!