Bonita Open Solution 5.x Essentials
上QQ阅读APP看书,第一时间看更新

The integer variable

Bonita Studio offers integer variables, but they are of the Java type Long (java.lang.Long). Be sure to initialize the integer value here, and if you want to use it for counting or keeping track of a sum of integer values, then give the default value as 0.

Tip

When using external connectors or Java code for evaluating the integer variable, beware that the type of the integer variable is not Integer but Long.