JS API Reference
Class: TaskRejected
events/events.TaskRejected
Represents the situation where all attempts to execute the task have been unsuccessful and no further processing will be conducted.
Hierarchy
BaseEvent
<{id
:string
;agreementId?
:string
;provider?
:ProviderInfo
;activityId?
:string
;reason?
:string
}>↳
TaskRejected
Table of contents
Constructors
Properties
Constructors
constructor
• new TaskRejected(data
): TaskRejected
Parameters
Name | Type | Description |
---|---|---|
data | Object | - |
data.id | string | - |
data.agreementId? | string | - |
data.provider? | ProviderInfo | - |
data.activityId? | string | The activity that was involved when the rejection took place This might be not set when there was an issue with starting the activity on the provider |
data.reason? | string | - |
Returns
Inherited from
Defined in
Properties
detail
• Readonly
detail: Object
Type declaration
Name | Type | Description |
---|---|---|
id | string | - |
agreementId? | string | - |
provider? | ProviderInfo | - |
activityId? | string | The activity that was involved when the rejection took place This might be not set when there was an issue with starting the activity on the provider |
reason? | string | - |
Inherited from
Defined in
name
• Readonly
name: string
Inherited from
Defined in
timestamp
• Readonly
timestamp: number