Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev Guide
Dev GuideUser GuidesGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

JobInvocation

OCP App SDK


OCP App SDK / JobInvocation

Interface: JobInvocation

Defined in: src/app/Job.ts:3

Properties

jobId

jobId: string

Defined in: src/app/Job.ts:7

A unique id generated for this job run


parameters

parameters: ValueHash

Defined in: src/app/Job.ts:16

Optional parameters that may be supplied from jobs.trigger() or the app.yml.

Default

{} (an empty hash)

scheduledAt

scheduledAt: Date

Defined in: src/app/Job.ts:11

The time the job was scheduled. Can be used to determine if the job was delayed or has been running too long.