AnsweredAssumed Answered

BPMN2.0style constructs doesnot execute on activiti engine

Question asked by rashmis on Nov 22, 2010
Latest reply on Nov 23, 2010 by rashmis

I have a BPMN2.0 compliant xml as below which I wish to execute using the Activiti Execution Engine. This xml was NOT created through the Activiti modeler (neither Signavio nor IDE).

<?xml version="1.0" encoding="UTF-8" ?>

<definitions  xmlns=""
expressionLanguage=""    targetNamespace="">

<process isExecutable="true" id="ticket">
      <startEvent name="Ticketing System" id="Start"></startEvent>
       <scriptTask name="Print ticket" scriptFormat="text/x-groovy" id="Script"><script><![CDATA[
                System.out.println("Printing Ticket!! ")
      <endEvent id="End" />
      <sequenceFlow id="flow01" name="From Start to Script" sourceRef="Start" targetRef="Script"></sequenceFlow>
      <sequenceFlow id="flow02" name="From Script to End" sourceRef="Script" targetRef="End"></sequenceFlow>

Note: According to the BPMN2.0 specification document,  scriptFormat="text/x-groovy" is the way to represent the groovy script engine.

Please note that the above piece of xml works fine on the activiti execution engine, if i replace scriptFormat="text/x-groovy" with just "groovy" .

Does this mean that the BPMN2.0 specification constructs works on the activiti execution engine only if we mention them in an activiti specific way ?

Please help.