From d222ffe3c4a0fa8056c2992a0ca405135460e03e Mon Sep 17 00:00:00 2001 From: sancar Date: Tue, 26 Aug 2025 17:56:23 +0300 Subject: [PATCH 1/2] QSTH-698 Doc nextDeliveryTime for Workflow Step Retries --- workflow/rest/runs/logs.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workflow/rest/runs/logs.mdx b/workflow/rest/runs/logs.mdx index 9ed988f4..ab512e19 100644 --- a/workflow/rest/runs/logs.mdx +++ b/workflow/rest/runs/logs.mdx @@ -251,6 +251,10 @@ To uniquely identify a single workflow run, include the `workflowCreatedAt` time The unix timestamp in milliseconds when the message associated with this step has created. + + The unix timestamp in milliseconds when this step will be retried. + This is set only when the step state is `STEP_RETRY` + **The following fields are set only when a specific type of step is executing. These fields are not available for all step types.** From 0679ade169746ab4fe5e82a896953025737e83b4 Mon Sep 17 00:00:00 2001 From: sancar Date: Tue, 26 Aug 2025 18:00:03 +0300 Subject: [PATCH 2/2] QSTH-715 Doc WorkflowInfo on NotifyResponse --- workflow/basics/context.mdx | 2 ++ workflow/rest/runs/notify.mdx | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/workflow/basics/context.mdx b/workflow/basics/context.mdx index 25be3fd6..a6227ca9 100644 --- a/workflow/basics/context.mdx +++ b/workflow/basics/context.mdx @@ -525,6 +525,8 @@ export type NotifyResponse = { waiter: Waiter; messageId: string; error: string; + workflowRunId: string; + workflowCreatedAt: number; }; ``` diff --git a/workflow/rest/runs/notify.mdx b/workflow/rest/runs/notify.mdx index 8564eef1..beea8a65 100644 --- a/workflow/rest/runs/notify.mdx +++ b/workflow/rest/runs/notify.mdx @@ -18,10 +18,13 @@ Notify workflows waiting for an event to resume them. See [our documentation to ## Response -The response contains a list of notified waiter objects and id of the message sent as a result of the notify request. +The response contains a list of +- notified waiter objects, +- id of the message sent, +- workflowRunId and workflowCreatedAt fields for the related workflow runs, as a result of the notify request. ```typescript -type NotifyResponse = { waiter: Waiter, messageId: string }[] +type NotifyResponse = { waiter: Waiter, messageId: string, workflowRunId: string, workflowCreatedAt: number}[] ``` More information about the `Waiter` object: