If you want store variables without custom configuration you can store objects or simple-types of type

  • null
  • String
  • Boolean
  • Short
  • Integer
  • Long
  • Date
  • Double
  • ByteArray
  • Serializeable

For the types String to Double not only the object-types but also the corresponding simple-types (http://download.oracle.com/javase/6/docs/api/javax/management/openmbean/SimpleType.html) are supported. The easiest way to store your custom objects is to make them Serializeable. In most cases you only have to add implements java.util.Serializeable to your class definition. Internally Activiti creates a byte-array (byte[]) out of your object and stores this byte-array. If you retrieve this object you will get an object of type java.lang.Object.

Sorry, the comment form is closed at this time.

© 2011 Softwareengineering in practise Suffusion theme by Sayontan Sinha