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

NameTypeDescription
dataObject-
data.idstring-
data.agreementId?string-
data.provider?ProviderInfo-
data.activityId?stringThe 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

TaskRejected

Inherited from

BaseEvent.constructor

Defined in

src/events/events.ts:29

Properties

detail

Readonly detail: Object

Type declaration

NameTypeDescription
idstring-
agreementId?string-
provider?ProviderInfo-
activityId?stringThe 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

BaseEvent.detail

Defined in

src/events/events.ts:17


name

Readonly name: string

Inherited from

BaseEvent.name

Defined in

src/events/events.ts:18


timestamp

Readonly timestamp: number

Inherited from

BaseEvent.timestamp

Defined in

src/events/events.ts:19