Add DisplayName property to DispatchWorkflow inputs

Two inputs in DispatchWorkflow.cs, "Workflow Definition" and "Correlation ID", now have additionally defined DisplayName properties. This will enhance understanding and user experience by displaying clearer input field names within the application.
This commit is contained in:
Sipke Schoorstra 2024-01-28 23:32:46 +01:00
parent 011233b17d
commit 1ca4fe6b36

View file

@ -28,6 +28,7 @@ public class DispatchWorkflow : Activity<object>
/// The definition ID of the workflow to dispatch.
/// </summary>
[Input(
DisplayName = "Workflow Definition",
Description = "The definition ID of the workflow to dispatch.",
UIHint = InputUIHints.WorkflowDefinitionPicker
)]
@ -36,7 +37,10 @@ public class DispatchWorkflow : Activity<object>
/// <summary>
/// The correlation ID to associate the workflow with.
/// </summary>
[Input(Description = "The correlation ID to associate the workflow with.")]
[Input(
DisplayName = "Correlation ID",
Description = "The correlation ID to associate the workflow with."
)]
public Input<string?> CorrelationId { get; set; } = default!;
/// <summary>