Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

Bulk Update of Work Order Line Items in a Flow Fails with a Record-Locked Error on the Parent Work Order

公開日: Oct 23, 2026
説明

Salesforce Field Service's managed package runs internal logic (parent rollup recalculation, Gantt/resource-scheduling logic) whenever a WOLI is updated. Updating multiple WOLIs under the same parent Work Order in one transaction causes lock contention on that parent — even with customer automation disabled, since this originates from the FSL managed package itself.

解決策
  1. Avoid a single bulk "Update Records" element for the full WOLI collection — use a Loop and update individually/in smaller batches.
  2. Insert a Pause/screen element between batches to force a commit boundary where the Flow type allows it.
  3. Sequence any parent Work Order update separately from WOLI updates.
  4. Review Field Service Settings "Work Order Service Note Sync" and Status Roll-up settings — these increase lock aggressiveness.
  5. Only pass changed fields in the update payload, not the full record.
ナレッジ記事番号

005460952

 
読み込み中
Salesforce Help | Article