SDK
Context
The third parameter in a Job's run()
function. An object that contains information about the Organization, Job, Run and more.
context
has useful information about the:
- Job
- Environment
- Organization
- Run
- event
- source
- account
Properties
jobrequired
object
Metadata about the Job
environmentrequired
object
Metadata about the Environment
organizationrequired
object
Metadata about the Organization
runrequired
object
Metadata about the Run
eventrequired
object
Metadata about the Event that triggered the Run.
source
object
Metadata about the Source that triggered the Run.
account
object
Metadata about the Account that triggered the Run. This is a Trigger.dev Connect property which is coming soon.
Was this page helpful?