cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse Activiti Designer 2.0 and Alfresco 5.0.d

alec12
Champ in-the-making
Champ in-the-making
Hi everyone,
I'm currently following different directions in order to try and create a custom workflow in Alfresco 5.0.d.
The latest try was done using the Eclipse tool Activiti Designer 2.0 that automatically generates the xml files to put in the extension and web-extension folders.

After creating my custom workflow files and putting them in the proper directories, the custom workflow shows up properly in the workflow list in Alfresco and is also normally started. However when the process comes to a review step, and specifically when the last needed user has to select "Approve" or "Reject" an error occurs:
org.alfresco.scripts.ScriptsException: 10160013 Failed to execute supplied script: unterminated string literal (AlfrescoSJ#6)

The error comes up every time a review step is about to end and pass to the next step, for example if 2 approvals out of 3 users are needed to make an hiring go through, it would block on the second approval or on the second reject.

Any help would be greatly appreciated,
thanks in advance.

Alessandro
3 REPLIES 3

douglascrp
World-Class Innovator
World-Class Innovator
Can you post your workflow template file?

It seems you have something wrong inside of it, but without looking at it, it will be hard to help you.

shanewalton
Champ in-the-making
Champ in-the-making
Hi all -

I'm trying to create a very simple workflow using Eclipse (Mars.1 4.5.1) and Activiti Eclipse BPMN 2.0 Designer (5.18.201508100) and deploy it (Kickstart) using CMIS.

There are tons of "howto's" out there to get all this stuff setup, but most are really outdated and I have pieced together what I have working thus far.
- First issue was updating the CMIS URL to use http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom (also tried 1.0)

When trying to deploy the custom workflow, the deploy dialog shows an error at the top, of which I have attached the stack trace cmis_exception.txt
I've also attached the workflow artifacts that are giving me the error.  I really appreciate any help you can provide!

Shane

imrulhasan
Champ in-the-making
Champ in-the-making
Hi All,

I am getting following error during CMIS export from eclipse kickstart but workflow is working fine if I deploy it over "custom location" to /Applications/alfresco-community/tomcat/shared/classes/alfresco/extension [repository folder] and /Applications/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension [share folder]. I am using Alfresco community edition 5.0.d and eclipse Luna. 

 

Error while exporting process

org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: null
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:487)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:629)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createDocument(ObjectServiceImpl.java:119)
   at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:751)
   at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:95)
   at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:469)
   at org.activiti.designer.kickstart.eclipse.navigator.CmisUtil.uploadProcess(CmisUtil.java:214)
   at org.activiti.designer.kickstart.eclipse.ui.wizard.diagram.ExportKickstartProcessWizard.exportProcess(ExportKickstartProcessWizard.java:189)
   at org.activiti.designer.kickstart.eclipse.ui.wizard.diagram.ExportKickstartProcessWizard$1.run(ExportKickstartProcessWizard.java:88)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Is there any clue why I am getting such error?

BR// Imrul