Skip to main content

Class: SignalWithStartWorkflowExecutionRequest

workflowservice.v1.SignalWithStartWorkflowExecutionRequest

Represents a SignalWithStartWorkflowExecutionRequest.

Implements

Constructors

constructor

new SignalWithStartWorkflowExecutionRequest(properties?): SignalWithStartWorkflowExecutionRequest

Constructs a new SignalWithStartWorkflowExecutionRequest.

Parameters

NameTypeDescription
properties?ISignalWithStartWorkflowExecutionRequestProperties to set

Returns

SignalWithStartWorkflowExecutionRequest

Properties

control

control: string

Deprecated

Implementation of

ISignalWithStartWorkflowExecutionRequest.control


cronSchedule

cronSchedule: string

See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/

Implementation of

ISignalWithStartWorkflowExecutionRequest.cronSchedule


Optional header: null | IHeader

SignalWithStartWorkflowExecutionRequest header.

Implementation of

ISignalWithStartWorkflowExecutionRequest.header


identity

identity: string

The identity of the worker/client

Implementation of

ISignalWithStartWorkflowExecutionRequest.identity


input

Optional input: null | IPayloads

Serialized arguments to the workflow. These are passed as arguments to the workflow function.

Implementation of

ISignalWithStartWorkflowExecutionRequest.input


memo

Optional memo: null | IMemo

SignalWithStartWorkflowExecutionRequest memo.

Implementation of

ISignalWithStartWorkflowExecutionRequest.memo


namespace

namespace: string

SignalWithStartWorkflowExecutionRequest namespace.

Implementation of

ISignalWithStartWorkflowExecutionRequest.namespace


requestId

requestId: string

Used to de-dupe signal w/ start requests

Implementation of

ISignalWithStartWorkflowExecutionRequest.requestId


retryPolicy

Optional retryPolicy: null | IRetryPolicy

Retry policy for the workflow Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.

Implementation of

ISignalWithStartWorkflowExecutionRequest.retryPolicy


searchAttributes

Optional searchAttributes: null | ISearchAttributes

SignalWithStartWorkflowExecutionRequest searchAttributes.

Implementation of

ISignalWithStartWorkflowExecutionRequest.searchAttributes


signalInput

Optional signalInput: null | IPayloads

Serialized value(s) to provide with the signal

Implementation of

ISignalWithStartWorkflowExecutionRequest.signalInput


signalName

signalName: string

The workflow author-defined name of the signal to send to the workflow

Implementation of

ISignalWithStartWorkflowExecutionRequest.signalName


skipGenerateWorkflowTask

skipGenerateWorkflowTask: boolean

Indicates that a new workflow task should not be generated when this signal is received.

Implementation of

ISignalWithStartWorkflowExecutionRequest.skipGenerateWorkflowTask


taskQueue

Optional taskQueue: null | ITaskQueue

The task queue to start this workflow on, if it will be started

Implementation of

ISignalWithStartWorkflowExecutionRequest.taskQueue


workflowExecutionTimeout

Optional workflowExecutionTimeout: null | IDuration

Total workflow execution timeout including retries and continue as new

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowExecutionTimeout


workflowId

workflowId: string

SignalWithStartWorkflowExecutionRequest workflowId.

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowId


workflowIdReusePolicy

workflowIdReusePolicy: WorkflowIdReusePolicy

SignalWithStartWorkflowExecutionRequest workflowIdReusePolicy.

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowIdReusePolicy


workflowRunTimeout

Optional workflowRunTimeout: null | IDuration

Timeout of a single workflow run

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowRunTimeout


workflowStartDelay

Optional workflowStartDelay: null | IDuration

Time to wait before dispatching the first workflow task. Cannot be used with cron_schedule. Note that the signal will be delivered with the first workflow task. If the workflow gets another SignalWithStartWorkflow before the delay and skip_generate_workflow_task is false or not set, a workflow task will be dispatched immediately and the rest of the delay period will be ignored, even if that request also had a delay. Signal via SignalWorkflowExecution will not unblock the workflow.

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowStartDelay


workflowTaskTimeout

Optional workflowTaskTimeout: null | IDuration

Timeout of a single workflow task

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowTaskTimeout


workflowType

Optional workflowType: null | IWorkflowType

SignalWithStartWorkflowExecutionRequest workflowType.

Implementation of

ISignalWithStartWorkflowExecutionRequest.workflowType

Methods

toJSON

toJSON(): Object

Converts this SignalWithStartWorkflowExecutionRequest to JSON.

Returns

Object

JSON object


create

create(properties?): SignalWithStartWorkflowExecutionRequest

Creates a new SignalWithStartWorkflowExecutionRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?ISignalWithStartWorkflowExecutionRequestProperties to set

Returns

SignalWithStartWorkflowExecutionRequest

SignalWithStartWorkflowExecutionRequest instance


decode

decode(reader, length?): SignalWithStartWorkflowExecutionRequest

Decodes a SignalWithStartWorkflowExecutionRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

SignalWithStartWorkflowExecutionRequest

SignalWithStartWorkflowExecutionRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): SignalWithStartWorkflowExecutionRequest

Decodes a SignalWithStartWorkflowExecutionRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

SignalWithStartWorkflowExecutionRequest

SignalWithStartWorkflowExecutionRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified SignalWithStartWorkflowExecutionRequest message. Does not implicitly temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.verify|verify messages.

Parameters

NameTypeDescription
messageISignalWithStartWorkflowExecutionRequestSignalWithStartWorkflowExecutionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified SignalWithStartWorkflowExecutionRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.verify|verify messages.

Parameters

NameTypeDescription
messageISignalWithStartWorkflowExecutionRequestSignalWithStartWorkflowExecutionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): SignalWithStartWorkflowExecutionRequest

Creates a SignalWithStartWorkflowExecutionRequest message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

SignalWithStartWorkflowExecutionRequest

SignalWithStartWorkflowExecutionRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for SignalWithStartWorkflowExecutionRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

Creates a plain object from a SignalWithStartWorkflowExecutionRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageSignalWithStartWorkflowExecutionRequestSignalWithStartWorkflowExecutionRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object