Loading

Salesforce Field Service: Automated Work Orders Not Generating from Maintenance Plan with Inactive Owner

Udgivelsesdato: Jul 8, 2026
Beskrivelse

This issue occurs in Salesforce Field Service when a Maintenance Plan's assigned owner is an inactive Salesforce user. When that owner is inactive, the system lacks the necessary permissions to create Work Orders, Work Order Line Items, and Service Appointments.

Error message:

"We generated 0 of 0 work orders, 0 of 0 work order line items, and 0 of 0 service appointments for your MP-0044 InActive Owner Auto Test maintenance plan. We couldn't generate records because the maintenance plan owner doesn't have permission to create work orders or service appointments. Ask your Salesforce admin for help."

Note: Work Orders generated manually via the "Generate Work Order" action on the Maintenance Plan record are not affected by this issue — they generate as expected. The failure only occurs during the automated (scheduled) generation process.

 

Løsning

Option 1 — Single Maintenance Plan (Manual Reassignment)

  1. Navigate to the affected Maintenance Plan record in Salesforce.
  2. Click the Owner field and select Change Owner.
  3. Search for and select an active Salesforce user who has permission to create Work Orders and Service Appointments.
  4. Save the record.

Option 2 — Multiple Maintenance Plans (Mass Transfer)
Use the Mass Transfer Records tool to reassign ownership in bulk when multiple Maintenance Plans are affected.

  1. Go to Setup (gear icon in top right).
  2. In the Quick Find box, type Mass Transfer Records and select it.
  3. Select Transfer Maintenance Plans from the list of available objects.
  4. In the Transfer from field, search for the inactive user.
  5. In the Transfer to field, search for the active user who will become the new owner.
  6. Apply any additional filters if needed (e.g., by record name or date).
  7. Click Find to preview the affected records, then click Transfer to complete the bulk reassignment.

Note: Ensure the new owner's profile includes the following permissions: Create on Work Order, Work Order Line Item, and Service Appointment objects. Also, validate the Maintenance Plan configuration and necessary changes if required.

Vidensartikelnummer

005388610

 
Indlæser
Salesforce Help | Article