7.1.0-M8

Release 7.1.0-M8

You can consume all the Activiti artifacts for this release from Alfresco Nexus:

<repositories>
<repository>
<id>activiti-releases</id>
<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-releases</url>
</repository>
</repositories>

Activiti Cloud:

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-dependencies</artifactId>
<version>7.1.0-M8</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

Activiti Core

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-dependencies</artifactId>
<version>7.1.0-M8</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

In the 7.1.0-M8 release you will find the following main fixes & features:

  • Add support to BigDecimal for Cloud Connectors and RestAPI and Rest API: previously, after serializing to JSON, BigDecimal variables were deserialized back to Java as double.

  • Add the possibility to retrieve tasks from query service filtered by variable name and variable value. I.e. GET query/v1/tasks?variables.name=outcome&variables.value=Approve

  • Update to Spring Boot 2.2.8.RELEASE and Spring Cloud Hoxton.SR5

Known issues / Changes from previous milestones

  • In order to handle BigDecimals we needed to change the JSON structure to transfer variables between runtime bundle and Cloud Connectors (inBoundVariables and outBoundVariables) so that it includes the variable type. The Java model is unchanged, however as the JSON structure changes, make sure that the version used for the runtime bundle is aligned with the one used by the connector.

Previous format:

{
"amount": 10.00
}

New format:

{
"amount": {
"type": "bigdecimal",
"value": "10.00"
}
}