Class: RequestCancelExternalWorkflowExecutionFailedEventAttributes
Represents a RequestCancelExternalWorkflowExecutionFailedEventAttributes.
Properties
cause
RequestCancelExternalWorkflowExecutionFailedEventAttributes cause.
control
control:
string
Deprecated.
initiatedEventId
initiatedEventId:
Long
id of the REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED event this failure
corresponds to
namespace
namespace:
string
Namespace of the workflow which failed to cancel.
SDKs and UI tools should use namespace field but server must use namespace_id only.
namespaceId
namespaceId:
string
RequestCancelExternalWorkflowExecutionFailedEventAttributes namespaceId.
workflowExecution?
optionalworkflowExecution?:$Properties|null
RequestCancelExternalWorkflowExecutionFailedEventAttributes workflowExecution.
workflowTaskCompletedEventId
workflowTaskCompletedEventId:
Long
The WORKFLOW_TASK_COMPLETED event which this command was reported with
Methods
toJSON()
toJSON():
object
Converts this RequestCancelExternalWorkflowExecutionFailedEventAttributes to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):RequestCancelExternalWorkflowExecutionFailedEventAttributes&$Properties
Creates a new RequestCancelExternalWorkflowExecutionFailedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
RequestCancelExternalWorkflowExecutionFailedEventAttributes & $Properties
RequestCancelExternalWorkflowExecutionFailedEventAttributes instance
Call Signature
staticcreate(properties?):RequestCancelExternalWorkflowExecutionFailedEventAttributes
Creates a new RequestCancelExternalWorkflowExecutionFailedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
RequestCancelExternalWorkflowExecutionFailedEventAttributes
RequestCancelExternalWorkflowExecutionFailedEventAttributes instance
decode()
staticdecode(reader,length?):RequestCancelExternalWorkflowExecutionFailedEventAttributes&$Properties
Decodes a RequestCancelExternalWorkflowExecutionFailedEventAttributes message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from