Skip to content

Commit

Permalink
Add search attrs to batch canary (cadence-workflow#2776)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Nov 6, 2019
1 parent 4a91284 commit ef6757a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions canary/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ func startBatchWorkflow(ctx context.Context, domain, startTime string) error {
ExecutionStartToCloseTimeout: childWorkflowTimeout,
DecisionTaskStartToCloseTimeout: decisionTaskTimeout,
TaskList: systemBatcherTaskListName,
SearchAttributes: map[string]interface{}{
"CustomDomain": domain,
"Operator": "admin",
},
}

run, err := sdkClient.ExecuteWorkflow(ctx, options, sysBatchWFTypeName, params)
Expand Down

0 comments on commit ef6757a

Please sign in to comment.