cancel
Showing results for 
Search instead for 
Did you mean: 

Xml Work Flow Deployment

bhashitha
Champ in-the-making
Champ in-the-making
I have tried to deploy a dummy workflow and when I am going to deploy it through "work-flow.jsp", it gives an error message like following

"org.alfresco.error.AlfrescoRuntimeException: 03180462 Exception in Transaction"


and the command that i have used to deploy the workflow is as follows.

"deploy alfresco|extension |workflows|hello-world|processdefinition.xml"

and the  xml workflow file, that i was tried to deploy is as follows..

<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1"
name="helloWorld">
<start-state name="start">
<transition name="" to="hello"></transition>
</start-state>
<node name="hello">
<transition name="" to="end1">
<action class="org.alfresco.repo.workflow.jbpm.
AlfrescoJavaScript">
<script>
logger.log("Hello World!");
</script>
</action>
</transition>
</node>
<end-state name="end1"></end-state>
</process-definition>


(This script was copied from a book)

need support to overcome the deployment problem Smiley Sad
5 REPLIES 5

mitpatoliya
Star Collaborator
Star Collaborator
You can use workflow console to deploy this.
But make sure you have all the related files
http://wiki.alfresco.com/wiki/Workflow_Console

bhashitha
Champ in-the-making
Champ in-the-making
when im going to deploy a workflow definition in alfresco community 4.2 through "work-flow.jsp, it gives me below error message.


org.alfresco.service.cmr.workflow.WorkflowException: 03200027 Workflow Component for engine id 'jbpm' is not registered

Please Help !

mitpatoliya
Star Collaborator
Star Collaborator
Hey have checked in your alfreco-global.properties file?

location : tomcat/shared/classes

The workflow engine jbpm should be enabled.

system.workflow.engine.jbpm.enabled=true

make it true and restart

Thankz Dude. It was the problem that had..

mitpatoliya
Star Collaborator
Star Collaborator
Please mark it as solved.