You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method `stream()` can be used to obtain a <code>java.util.stream.Stream</code> from a collection.
36
+
</li>
37
+
<li>
38
+
Lambda expressions can be used in expressions. e.g. if you have a transient list of customers you can do something like:
39
+
<code>${customers.stream().filter(customer -> customer.type eq 'premium').toList()}</code> to get a list of premium customers
40
+
or <code>${customers.stream().map(customer -> customer.name).toList()</code> to get the names of all the customers.
41
+
</li>
42
+
<li>
43
+
The <code>planItemInstances</code> now expose a <code>filter(Predicate<DelegatePlanItemInstance> predicate)</code> method that can be used to provide custom filter options.
44
+
</li>
34
45
<li>
35
46
Date variables will now include the milliseconds when they are returned over REST.
36
47
E.g., up to now a date variable with the value of <code>2020-05-04T09:25:45.583Z</code> would have been returned as <code>2020-05-04T09:25:45Z</code>.
With Spring Boot this can be enabled by setting <code>flowable.variable-json-mapper</code> to <code>jackson2</code>.
47
58
By default, Jackson 3 is being used for variables.
48
-
When configuring Flowable without Spring Boot then the <code>variableJsonMapper</code> on the process, cmmn and app engine configurations
59
+
When configuring Flowable without Spring Boot then the <code>variableJsonMapper</code> on the process, cmmn, and app engine configurations
49
60
should be set to be <code>org.flowable.common.engine.impl.json.jackson2.Jackson2VariableJsonMapper</code>
50
61
and the <code>org.flowable.common.rest.variable.Jackson2JsonObjectRestVariableConverter</code> should be added to the appropriate rest response factories.
For some use cases, the plan item instances that should be filtered should only be part of the current stage. The 'current stage' is either the parent stage of a plan item or the case instance when there’s no parent stage.
Copy file name to clipboardExpand all lines: modules/flowable-cmmn-engine/src/test/java/org/flowable/cmmn/test/el/PlanItemInstancesKeyWordInExpressionsTest.java
0 commit comments