Skip to content

Commit

Permalink
Add task_queu to ChildWorkflowOptions (#643)
Browse files Browse the repository at this point in the history
Co-authored-by: Spencer Judge <[email protected]>
  • Loading branch information
c-thiel and Sushisource authored Nov 28, 2023
1 parent 0d746ba commit e4d4400
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/src/workflow_context/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ pub struct ChildWorkflowOptions {
pub workflow_id: String,
/// Type of workflow to schedule
pub workflow_type: String,
/// Task queue to schedule the workflow in
pub task_queue: String,
/// Input to send the child Workflow
pub input: Vec<Payload>,
/// Cancellation strategy for the child workflow
Expand All @@ -195,6 +197,7 @@ impl IntoWorkflowCommand for ChildWorkflowOptions {
seq,
workflow_id: self.workflow_id,
workflow_type: self.workflow_type,
task_queue: self.task_queue,
input: self.input,
cancellation_type: self.cancel_type as i32,
workflow_id_reuse_policy: self.options.id_reuse_policy as i32,
Expand Down

0 comments on commit e4d4400

Please sign in to comment.