I’d like to capture a timestamp in my multi-instance variable aggregation. I’ve tried various approaches, but keep getting Cause: org.flowable.common.engine.api.FlowableException: Unknown property used in expression: ${now}
<subProcess id="forEachOwner" name="For Each Owner">
<multiInstanceLoopCharacteristics flowable:collection="${ownerIds}" flowable:elementVariable="assignee">
<extensionElements>
<flowable:variableAggregation target="approvals" createOverviewVariable="true">
<variable source="assignee" target="approverId"></variable>
<variable sourceExpression="${now}" target="approvalTime"></variable>
</flowable:variableAggregation>
</extensionElements>
</multiInstanceLoopCharacteristics>
...
</subProcess>
Here’s what else I’ve tried:
${java.time.Instant.now()}
${new Date()}
-
${flwTimeUtils.now()}
(from the Enterprise Documentation, but I’m using Open Source) -
${now}
(from this unit test resource)
Seems like a simple thing to do. Forgive me for the newbie question, but I am a Flowable newbie.