Workflow saving issue
Hi,
I have designed a workflow with six (6) activities. When I try to save, it never gets finished...Saving popup window remains forever saying "saving activity "Approver-Marketing" showing 100%. I could save completely. Without saving I cannot validate and install the workflow.
When I try to save the workflow, I see the following in the command window that pops up when I run "launch_wfm.bat":
C:\Composer 6.7\Composer\WorkflowManager\wfm\classes>java -Dsun.java2d.noddraw=t
rue -cp "lib\jlayout20.jar;lib\jloox20.jar;lib\wfde.jar;lib\DfWFUtilJNI.dll;..\.
.\..\plugins\com.emc.ide.external.dfc_1.0.0\lib\dfc.jar;..\..\..\plugins\com.emc
.ide.external.dfc_1.0.0\lib\Dart.jar;..\..\..\plugins\com.emc.ide.external.dfc_1.0.0\documentum.config;" WorkflowEditor
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.documentum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI()J at com.documentum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI
(Native Method) at com.documentum.workflow.eventserver.DcEventDispatchJNI.<init>(Unknown Source)
at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.getEventDispatcher(Unknown Source)
at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.createDocbaseObjEventData(Unknown Source)
at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.sendSaveProcessEvent(Unknown Source)
at com.documentum.workflow.editor.DfEditorWorkflowProcess.reallySave(Unknown Source)
at com.documentum.workflow.editor.DfWorkflowProgressBox.windowActivated(Unknown Source)
at com.documentum.workflow.editor.DfEditorWorkflowProcess.startSaveProgressIndicator(Unknown Source)
at com.documentum.workflow.editor.DfEditorWorkflowProcess.save(Unknown Source)
at com.documentum.workflow.editor.DfWorkflowEditor.save(Unknown Source)
at com.documentum.workflow.editor.DfWorkflowEditor.doSaveProcess(Unknown Source)
at com.documentum.workflow.editor.DfWorkflowEditor.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: com.docum
entum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI()J
at com.documentum.workflow.eventserver.DcEventDispatchJNI.newInstanceJNI(Native Method)
at com.documentum.workflow.eventserver.DcEventDispatchJNI.<init>(Unknown Source)
at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.getEventDispatcher(Unknown Source)
at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.createDocbaseObjEventData(Unknown Source)
at com.documentum.workflow.docbase.desktop.DfWorkflowEventServerDesktop.sendSaveProcessEvent(Unknown Source)
at com.documentum.workflow.editor.DfEditorWorkflowProcess.reallySave(Unknown Source)
at com.documentum.workflow.editor.DfWorkflowProgressBox.windowActivated(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JDialog.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.SentEvent.dispatch(Unknown Source)
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.sendMessage(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.SequencedEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Note: I need to run "launch_wfm.bat" to get Workfloe manager in Composer 6.7.
Please share your knowledge and experience and help me.
Thanks.
ta
Comments
-
When I opened Workflow Manager through Documentum Administrator, I did not get such error when a workflow is saved.
While in DA, you need to do File -> New -> Workflow Template. A warning window will popup. Select "No".
Later we moved to Process Builder which is the best option to create more powerful workflow templates with more custom activities.
0 -
FYI - even though Workflow Manager is still part of Documentum, its only there from backwards compatibility perspective. The code is probably over 10 yrs old. I would even go further to guess that the Composer product team probably doesnt regression test a lot (if not at all) against WFM.
Composer is designed to work with Process Builder and the rest of the xCP products.
0 -
The resolution for this issue is to run Workflow Manager with a 32-bit JRE. For me this issue occurred when my JAVA_HOME pointed to JDK 1.6.45 x64.
To fix this issue I edited the launch_wfm.bat and changed java in the last line to:
"C:\Program Files (x86)\Java\jdk1.6.0_45\bin\java.exe" -Dsun.java2d.noddraw=true
Of course you should provide a proper path to the 32bit java on your system.
3 -
Fixed my problem too!
Thanks!
0 -
I am having the same issue in Workflow composer 20.4.
But I cant change it to 32 bit java. i have to use JDK 11 and it wont come in 32 bit version.
0 -
What does it mean "You have to use JDK 11"? The old Workflow Manager works with previous version so find an old 32-bit version of JDK 1.7 or even 1.8 and install it. Alternatively, you can find 32-bit version of OpenJDK 11 (e.g. AdoptOpenJDK) and try it. Finally, you may want to try the new experimental Workflow Designer: from the D2 21.3 release notes: "You can download the Documentum Workflow Designer from the OpenText support site at Product Downloads > Documentum Server > Documentum Workflow 21.2."
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management