Class SignalWithStartWorkflowRequest
- Namespace
- Temporalio.Workflows
- Assembly
- Temporalio.dll
Request fields for signaling a workflow, starting it first if needed.
[TemporalTransferTypeConverter(typeof(SignalWithStartWorkflowRequest.TransferTypeConverter))]
public record SignalWithStartWorkflowRequest : IEquatable<SignalWithStartWorkflowRequest>
- Inheritance
-
SignalWithStartWorkflowRequest
- Implements
- Inherited Members
Remarks
WARNING: This API is experimental and may change in the future.
Constructors
SignalWithStartWorkflowRequest(string, string, string, string, string)
Initializes a new instance of the SignalWithStartWorkflowRequest class.
public SignalWithStartWorkflowRequest(string workflow, string id, string taskQueue, string signal, string @namespace)
Parameters
Properties
Args
Arguments for the workflow.
public IReadOnlyCollection<object?>? Args { get; init; }
Property Value
CronSchedule
Cron schedule for recurring workflow executions. See https://docs.temporal.io/cron-job.
public string? CronSchedule { get; init; }
Property Value
ExecutionTimeout
Total workflow execution timeout, including retries and continue-as-new. Defaults to unlimited.
public TimeSpan? ExecutionTimeout { get; init; }
Property Value
Headers
Headers for the request.
public IReadOnlyDictionary<string, object?>? Headers { get; init; }
Property Value
Id
Unique identifier for the workflow execution. Must be nonempty.
public string Id { get; init; }
Property Value
IdConflictPolicy
Behavior when a workflow is currently running with the same ID. Set to use-existing for idempotent deduplication on workflow ID. Cannot be set if id-reuse-policy is terminate-if-running. Defaults to use-existing.
public WorkflowIdConflictPolicy? IdConflictPolicy { get; init; }
Property Value
IdReusePolicy
Behavior when a closed workflow with the same ID exists. Default is allow-duplicate.
public WorkflowIdReusePolicy? IdReusePolicy { get; init; }
Property Value
Memo
Memo for the workflow.
public IReadOnlyDictionary<string, object?>? Memo { get; init; }
Property Value
Namespace
Namespace of the workflow execution.
public string Namespace { get; init; }
Property Value
Priority
Priority of the workflow execution.
public Priority? Priority { get; init; }
Property Value
RetryPolicy
Retry policy for the workflow.
public RetryPolicy? RetryPolicy { get; init; }
Property Value
RunTimeout
Timeout of a single workflow run. Defaults to the workflow execution timeout.
public TimeSpan? RunTimeout { get; init; }
Property Value
SearchAttributes
Typed search attributes for the workflow.
public SearchAttributeCollection? SearchAttributes { get; init; }
Property Value
Signal
Signal name or signal expression to send with the start request.
public string Signal { get; init; }
Property Value
SignalArgs
Arguments for the signal.
public IReadOnlyCollection<object?>? SignalArgs { get; init; }
Property Value
StartDelay
Amount of time to wait before starting the workflow. This does not work with cron-schedule.
public TimeSpan? StartDelay { get; init; }
Property Value
TaskQueue
Task queue to run the workflow on.
public string TaskQueue { get; init; }
Property Value
TaskTimeout
Timeout of a single workflow task. Defaults to 10 seconds.
public TimeSpan? TaskTimeout { get; init; }
Property Value
UserMetadata
Static metadata for the workflow execution.
public UserMetadata? UserMetadata { get; init; }
Property Value
VersioningOverride
Override for workflow versioning behavior.
public VersioningOverride? VersioningOverride { get; init; }
Property Value
Workflow
Workflow type name or workflow expression identifying the workflow to start.
public string Workflow { get; init; }