cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Designer 5.9.2 released

trademak
Star Contributor
Star Contributor
Hi all,

I just released a new version of the Activiti Designer (version 5.9.2).
This includes the following highlights:

- New Activiti navigator view showing process elements in a tree structure. Thanks to Tiese Barrell for this contribution!
- Bug fixes. See JIRA for the closed issues.

Best regards,
24 REPLIES 24

m2spring
Champ in-the-making
Champ in-the-making
You're right.  I got the same error when working completely on 5.9.1.

Not clear what I am missing.  This is the element:

    <serviceTask id="servicetask1" name="Jenkins Task" activiti:class="org.example.jenkow.JenkinsTaskDelegate">
      <extensionElements>
        <activiti:field name="jobName">
          <activiti:string>launchy</activiti:string>
        </activiti:field>
      </extensionElements>
    </serviceTask>

FATAL: One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask. | /scratch/jenkow-plugin/jenkow-plugin/target/test-classes/diagrams/ExecLogger.bpmn20.xml | line 11 | column 131

-Max

m2spring
Champ in-the-making
Champ in-the-making
I figured out the root cause of my problem:

I'm integrating the Activiti engine into Jenkins as a Jenkins plugin.
When trying to make the workflow engine work when running through surefire-maven-plugin I had a strange behavior from the XML validator.  Setting the schema validation to false was a bandaid fix which made the strange behavior go away.

  DeploymentBuilder db = repoSvc.createDeployment().addInputStream(wfn,new FileInputStream(wff));
  // skip XML Schema validation as documents produced by Activiti designer doesn't seem to conform to them
  ((DeploymentBuilderImpl)db).getDeployment().setValidatingSchema(false);

Reverting this makes the new problem go away.
So, it was actually my own fault.

-Max

billwang
Champ in-the-making
Champ in-the-making
When I delete the poll  from the diagram,But I still see pool definition code in the BPMN file。

<?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" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlnsSmiley Surprisedmgdc="http://www.omg.org/spec/DD/20100524/DC" xmlnsSmiley Surprisedmgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
  <collaboration id="Collaboration">
    <participant id="pool1" name="Pool" processRef="process_pool1"></participant>
  </collaboration>
  <bpmndi:BPMNDiagram id="BPMNDiagram_process1">
    <bpmndi:BPMNPlane bpmnElement="process1" id="BPMNPlane_process1">
      <bpmndi:BPMNShape bpmnElement="pool1" id="BPMNShape_pool1" isHorizontal="true">
        <omgdc:Bounds height="0" width="500" x="130" y="90"></omgdc:Bounds>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

billwang
Champ in-the-making
Champ in-the-making
I can not drag a 'event sub process' to canvas directly, but I can drag 'event sub process'  into a 'sub process' , and then I can drag 'event sub process'  out of   'sub process'   I don't  kown why?

trademak
Star Contributor
Star Contributor
@Bill Wang, that are bugs. I just did a commit with fixes for this.
The event sub process can now not be moved to the canvas anymore as it's supposed to be.

Best regards,