Skip to main content

Interface: ICallbackInfo

workflow.v1.ICallbackInfo

Properties of a CallbackInfo.

Implemented by

Properties

attempt

Optional attempt: null | number

The number of attempts made to deliver the callback. This number represents a minimum bound since the attempt is incremented after the callback request completes.


callback

Optional callback: null | ICallback

Information on how this callback should be invoked (e.g. its URL and type).


lastAttemptCompleteTime

Optional lastAttemptCompleteTime: null | ITimestamp

The time when the last attempt completed.


lastAttemptFailure

Optional lastAttemptFailure: null | IFailure

The last attempt's failure, if any.


nextAttemptScheduleTime

Optional nextAttemptScheduleTime: null | ITimestamp

The time when the next attempt is scheduled.


registrationTime

Optional registrationTime: null | ITimestamp

The time when the callback was registered.


state

Optional state: null | CallbackState

CallbackInfo state


trigger

Optional trigger: null | ITrigger

Trigger for this callback.