JS API Reference
Class: TaskRedone
events/events.TaskRedone
Represents the situation in which running the task failed for some reason, but it will be retried
Hierarchy
BaseEvent
<{id
:string
;agreementId?
:string
;provider?
:ProviderInfo
;retriesCount
:number
;activityId?
:string
;reason?
:string
}>↳
TaskRedone
Table of contents
Constructors
Properties
Constructors
constructor
• new TaskRedone(data
): TaskRedone
Parameters
Name | Type | Description |
---|---|---|
data | Object | - |
data.id | string | - |
data.agreementId? | string | - |
data.provider? | ProviderInfo | - |
data.retriesCount | number | - |
data.activityId? | string | The activity that was involved 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 | - |
retriesCount | number | - |
activityId? | string | The activity that was involved 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