1 Reply Latest reply on Oct 11, 2011 3:04 PM by tsurdilovic

    Which ItemDefinition's structureRef are supported?

    mpiraccini

      Hi guys,

       

      I'm trying to figure out which structureRef type are supported in JBPM 5.1.

      Looking at the examples (and the drools code) it seems that these types are supported:

      • String
      • Integer
      • Float
      • Enum (how?)
      • java.util.List
      • Object (which is the default)

       

      Is that correct?

      Moreover, from the BPMN2 specs, the structureRef should be of this kind <xsd:attribute name="structureRef" type="xsd:QName"/>

      (see table 8.62, page 102). That means that I should be able to specify the type using XSD. Is that currently supported?

        • 1. Re: Which ItemDefinition's structureRef are supported?
          tsurdilovic

          In Eclipse AFAIK if you select the Object type, you can type in your specific class name, so support extends the basic options of the dropdown selection. The ability to specify your type using XSD is not supported yet. Your custom type class has to be available on the classpath at runtime and in your Guvnor package if you are building your package there.

           

          Hope this helps.