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.
Knowledge 기사 번호

005460952

 
로드 중
Salesforce Help | Article