Activiti SingleApprover Process

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2012 06:36 AM
Hello Guy,
I tried to use the process definition of the "Activiti in Liferay"-Guide, but this process definition won't deployed.
source: http://www.emforge.net/web/activiti-liferay/wiki/-/wiki/Main/Model+BPMN+2.0+processes+in+Activiti+De...
I hope you can help me with this problem.
Greetz cookie-exploit
I tried to use the process definition of the "Activiti in Liferay"-Guide, but this process definition won't deployed.
source: http://www.emforge.net/web/activiti-liferay/wiki/-/wiki/Main/Model+BPMN+2.0+processes+in+Activiti+De...
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test"> <process id="SingleApprover" name="SingleApprover"> <startEvent id="startevent2" name="Start"></startEvent> <userTask id="usertask2" name="Review Asset" activiti:candidateGroups="#{liferayGroups.getGroups(execution, "Community Administrator, Community Content Reviewer, Organization Administrator, Organization Content Reviewer, Administrator, Portal Content Reviewer")}"> <extensionElements> <activiti:formProperty id="outputTransition" type="enum" required="true"> <activiti:value id="Approve" label="Approve"/> <activiti:value id="Reject" label="Reject"/> </activiti:formProperty> </extensionElements> </userTask> <serviceTask id="servicetask1" name="Change Status" activiti:expression="#{updateStatusHandler.updateStatus(execution, "approved")}"></serviceTask> <sequenceFlow id="flow3" name="" sourceRef="startevent2" targetRef="usertask2"></sequenceFlow> <sequenceFlow id="flow5" name="" sourceRef="servicetask1" targetRef="endevent2"></sequenceFlow> <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway> <sequenceFlow id="flow6" name="" sourceRef="usertask2" targetRef="exclusivegateway1"></sequenceFlow> <sequenceFlow id="flow7" name="Approve" sourceRef="exclusivegateway1" targetRef="servicetask1"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${outputTransition == "Approve"}]]></conditionExpression> </sequenceFlow> <userTask id="usertask3" name="Rework Asset" activiti:candidateGroups="User"></userTask> <sequenceFlow id="flow8" name="Reject" sourceRef="exclusivegateway1" targetRef="usertask3"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${outputTransition == "Reject"}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="flow9" name="" sourceRef="usertask3" targetRef="usertask2"></sequenceFlow> <endEvent id="endevent2" name="Approved"></endEvent> </process></definitions>
I hope you can help me with this problem.
Greetz cookie-exploit
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2012 09:41 AM
Hi,
Can you also include the error message?
I was able to deploy this process model, but I first had to remove some white spaces.
Best regards,
Can you also include the error message?
I was able to deploy this process model, but I first had to remove some white spaces.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2012 07:45 AM
It was a problem with activiti 5.9 and the spring deployment.
Now, after i updated to activiti 5.10, it works perfekt!
Now, after i updated to activiti 5.10, it works perfekt!

