From fa67971be3fe5162b24e7112a9e036c6d464d2bb Mon Sep 17 00:00:00 2001 From: Jeff Sarnat Date: Tue, 29 Aug 2023 12:02:21 -0700 Subject: [PATCH] Fix the documentation of ListWorkflow for querying open workflows --- client/client.go | 2 +- internal/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index ad6105f9b..140190514 100644 --- a/client/client.go +++ b/client/client.go @@ -400,7 +400,7 @@ type ( // ListWorkflow gets workflow executions based on query. The query is basically the SQL WHERE clause, examples: // - "(WorkflowID = 'wid1' or (WorkflowType = 'type2' and WorkflowID = 'wid2'))". // - "CloseTime between '2019-08-27T15:04:05+00:00' and '2019-08-28T15:04:05+00:00'". - // - to list only open workflow use "CloseTime = missing" + // - to list only open workflow use "CloseTime is null" // For supported operations on different server versions see [Visibility]. // Retrieved workflow executions are sorted by StartTime in descending order when list open workflow, // and sorted by CloseTime in descending order for other queries. diff --git a/internal/client.go b/internal/client.go index 28777f167..f3f78212d 100644 --- a/internal/client.go +++ b/internal/client.go @@ -237,7 +237,7 @@ type ( // examples: // - "(WorkflowID = 'wid1' or (WorkflowType = 'type2' and WorkflowID = 'wid2'))". // - "CloseTime between '2019-08-27T15:04:05+00:00' and '2019-08-28T15:04:05+00:00'". - // - to list only open workflow use "CloseTime = missing" + // - to list only open workflow use "CloseTime is null" // Retrieved workflow executions are sorted by StartTime in descending order when list open workflow, // and sorted by CloseTime in descending order for other queries. // For supported operations on different server versions see [Visibility].