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].