From d2e4a1a02409444b5a6e4f0b03ebfb34bbfec893 Mon Sep 17 00:00:00 2001 From: Edvard Fonsell Date: Thu, 18 Feb 2021 20:45:34 +0200 Subject: [PATCH] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26c7ebcc3..a921f100d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ - Control whether the stack trace of the exception is logged or not. - Control how long the `WorkflowStateProcessor` should sleep before retrying. - Support in `CronWorkflow` to wait for child workflow instances created in `doWork` state method to finish before scheduling the next work. Return `NextAction.moveToStateAfter(waitForWorkToFinish, ...)` with some fail-safe waiting time instead of `NextAction.moveToState(schedule, ...)` to avoid immediate re-scheduling. When child workflows finish, they will wake up the parent workflow automatically, if it is still in the waiting state. Default implementation will check if any child workflows are still running, and keep waiting until they are all finished. Override `CronWorkflow.waitForWorkToFinishImpl` for custom logic. + - Add `StateExecution.hasUnfinishedChildren` helper to check if the workflow instance has any child workflow instances with any other status than `WorkflowInstanceStatus.finished`. - `nflow-rest-api-common`, `nflow-rest-api-jax-rs`, `nflow-rest-api-spring-web` - `UpdateWorkflowInstanceRequest.businessKey` field was added to support updating workflow instance business key via REST API. - Added support for new query parameters `stateVariableKey` and `stateVariableValue` to `GET /v1/workflow-instance` to limit search query by state variable name and key. Only the latest value of the state variable of the workflow instance is used.