Skip to content

Commit

Permalink
Fix the documentation of ListWorkflow for querying open workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Sarnat committed Aug 29, 2023
1 parent a7f9cdf commit 7fa9821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 7fa9821

Please sign in to comment.