ScheduledActionProps: {
    action: SchedulableActionType;
    entity: Link<SchedulableEntityType>;
    environment?: {
        sys: MetaLinkProps;
    };
    error?: ScheduledActionFailedError;
    payload?: ScheduledActionPayloadProps;
    scheduledFor: {
        datetime: ISO8601Timestamp;
        timezone?: string;
    };
    sys: ScheduledActionSysProps;
}

Type declaration

  • action: SchedulableActionType
  • entity: Link<SchedulableEntityType>
  • Optional environment?: {
        sys: MetaLinkProps;
    }
  • Optional error?: ScheduledActionFailedError

    The Contentful-style error that occurred during execution if sys.status is failed

    Example

    {
    * sys: {
    * type: 'Error',
    * id: 'InvalidEntry'
    * },
    * message: 'Entry is invalid',
    * details: {
    * errors: [...]
    * }
    * }
  • Optional payload?: ScheduledActionPayloadProps
  • scheduledFor: {
        datetime: ISO8601Timestamp;
        timezone?: string;
    }
  • sys: ScheduledActionSysProps