OBJECT

ProcessScheduleTrigger

Trigger that starts a process on a schedule for the records of an entity.

link GraphQL Schema definition

  • type ProcessScheduleTrigger implements ScheduleInterface {
  • # Date and time the schedule runs once. Set for a one-time schedule; left empty
  • # for recurring schedules that use the time-of-day and day fields instead.
  • date: DateTime
  • # Time of day a recurring schedule runs, in minutes after midnight (0 to 1439).
  • timeOfDay: Int
  • # Weekdays a weekly schedule runs on, from 1 (Monday) to 7 (Sunday).
  • dayOfWeek: [Int!]
  • # Days of the month a monthly schedule runs on, from 1 to 31.
  • dayOfMonth: [Int!]
  • # Type of record whose changes start this process, such as Lead, Opportunity,
  • # Account or Contact.
  • entityType: EntityNameEnum!
  • # API name of the custom entity that starts this process. Set only when the
  • # trigger entity type is a custom entity.
  • entityApiName: String
  • }