Salesforce

Update a scheduled job

« Go Back
Information
Update a scheduled job
000004176
Public
Product Selection
aiWare - aiWare
Article Details

You can change the parameters for a scheduled job by using updateScheduledJob.

In this example, the job is updated to run every day at a particular time. 

mutation updateRecurringIntervalScheduledPart{
  updateScheduledJob(input: {
    id:"yourJobID"
    isActive: true
    recurringScheduleParts:[
      {
        repeatInterval: 1
        repeatIntervalUnit: Days
        startTime: "07:15"
      }
    ]
  }) {
    id
    isActive
    runMode
    parts {
        scheduleType
        scheduledDay
        repeatInterval
        repeatIntervalUnit
        startTime
        stopTime
      }
  }
}
Additional Technical Documentation Information
Properties
11/21/2023 9:10 PM
12/4/2023 6:33 PM
12/4/2023 6:33 PM
Documentation
Documentation
000004176
Translation Information
English

Powered by