镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
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 @@ -48,6 +48,15 @@ public class StartNewOrchestrationOperationAction : OperationAction
/// </summary>
public string? Input { get; set; }

/// <summary>
/// Gets or sets the tags of the sub-orchestration.
/// </summary>
/// <remarks>
/// These tags override tags inherited from the entity. The runtime always sets the
/// <see cref="OrchestrationTags.FireAndForget"/> tag.
/// </remarks>
public IDictionary<string, string>? Tags { get; set; }

/// <summary>
/// Gets or sets when to start the orchestration, or null if the orchestration should be started immediately.
/// </summary>
Expand Down
4 changes: 3 additions & 1 deletion src/DurableTask.Core/TaskEntityDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,9 @@ internal void ProcessSendStartMessage(WorkItemEffects effects, OrchestrationRunt
{
Tags = OrchestrationTags.MergeTags(
newTags: new Dictionary<string, string>() { { OrchestrationTags.FireAndForget, "" } },
existingTags: runtimeState.Tags),
existingTags: OrchestrationTags.MergeTags(
newTags: action.Tags,
existingTags: runtimeState.Tags)),
OrchestrationInstance = destination,
ScheduledStartTime = action.ScheduledStartTime,
ParentInstance = new ParentInstance
Expand Down
Loading
Loading