Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#nullable enable
namespace DurableTask.Core.Entities.OperationFormat
{
using System;
using System.Collections.Generic;

/// <summary>
Expand All @@ -27,23 +28,29 @@ public class StartNewOrchestrationOperationAction : OperationAction
// To ensure maximum compatibility, all properties should be public and settable by default.

/// <summary>
/// The name of the sub-orchestrator to start.
/// Gets or sets the name of the sub-orchestrator to start.
/// </summary>
public string? Name { get; set; }

/// <summary>
/// The version of the sub-orchestrator to start.
/// Gets or sets the version of the sub-orchestrator to start.
/// </summary>
public string? Version { get; set; }

/// <summary>
/// The instance ID of the created sub-orchestration.
/// Gets or sets the instance ID of the created sub-orchestration.
/// </summary>
public string? InstanceId { get; set; }

/// <summary>
/// The input of the sub-orchestration.
/// Gets or sets the input of the sub-orchestration.
/// </summary>
public string? Input { get; set; }

/// <summary>
/// Gets or sets when to start the orchestration, or null if the orchestration should be started immediately.
/// </summary>
public DateTime? ScheduledStartTime { get; set; }

}
}
1 change: 1 addition & 0 deletions src/DurableTask.Core/TaskEntityDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@ void ProcessSendStartMessage(WorkItemEffects effects, OrchestrationRuntimeState
runtimeState.Tags,
new Dictionary<string, string>() { { OrchestrationTags.FireAndForget, "" } }),
OrchestrationInstance = destination,
ScheduledStartTime = action.ScheduledStartTime,
ParentInstance = new ParentInstance
{
OrchestrationInstance = runtimeState.OrchestrationInstance,
Expand Down