From e67414144c41b191ac94a4d85a7717e1bf2ede13 Mon Sep 17 00:00:00 2001 From: Josh van Leeuwen Date: Mon, 14 Jul 2025 14:02:01 -0300 Subject: [PATCH] Adds note about workflow start time (#1444) Signed-off-by: joshvanl Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com> Co-authored-by: artur-ciocanu Signed-off-by: sirivarma --- .../java/io/dapr/workflows/client/NewWorkflowOptions.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk-workflows/src/main/java/io/dapr/workflows/client/NewWorkflowOptions.java b/sdk-workflows/src/main/java/io/dapr/workflows/client/NewWorkflowOptions.java index e77283550..f808c1902 100644 --- a/sdk-workflows/src/main/java/io/dapr/workflows/client/NewWorkflowOptions.java +++ b/sdk-workflows/src/main/java/io/dapr/workflows/client/NewWorkflowOptions.java @@ -63,8 +63,10 @@ public class NewWorkflowOptions { /** * Sets the start time of the new workflow. * - *

By default, new workflow instances start executing immediately. This method can be used - * to start them at a specific time in the future. + *

By default, new workflow instances start executing immediately. This + * method can be used to start them at a specific time in the future. If set, + * Dapr will not wait for the workflow to "start" which can improve + * throughput of creating many workflows. * * @param startTime the start time of the new workflow * @return this {@link NewWorkflowOptions} object