01-26-2024 08:24 AM
Hello,
I have a workflow that works well on alfresco community 5.2
When I did the migration to Alfresco 7.4 community, I had an error on the taskListener:
ERROR [org.activiti.engine.impl.interceptor.CommandContext] [http-nio-8080-exec-3]
Error while closing command context org.activiti.engine.ActivitiException: Exception while invoking TaskListener:
Exception while invoking TaskListener: 00230045 Failed to execute supplied script:
00230044 ReferenceError: "java" is not defined. (AlfrescoJS#2)
In the line 2, I have :
var myVar = new java.util.ArrayList();
For information, "new java.util.ArrayList()" works well on the executionListener.
Tanks
08-17-2024 11:27 AM
Hi! Did you get your problem solved?
Explore our Alfresco products with the links below. Use labels to filter content by product module.