Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

FIELD_INTEGRITY_EXCEPTION During Document Generation in OmniStudio

公開日: Dec 10, 2025
説明

When initiating document generation, the process may fail with the following error message:

Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Reference Object ID: id value of incorrect type: 00TVZ0000026M9Z2AU: [ReferenceObjectId]

This issue occurs when the specified Context/Object ID is associated with an object that is not supported for document attachment within Salesforce. Document generation does not allow attaching files to certain entity types.

The following objects are not supported for use as Context/Object ID in document generation:

  • Event
  • Task
  • DocumentTemplate
  • DocumentTemplateSection
  • DocumentTemplateContentDoc
  • DocumentTemplateToken
  • DocTemplateSectionCondition
  • DocumentClause
  • GeneratedDocument
  • GeneratedDocumentSection
  • DocumentEnvelope
  • ContractDocumentVersion
  • ContractDocVerContentDoc
  • ContractDocVersionSection
  • UserEsignVendorIdentifier
  • DocumentRecipient
  • ObjectStateActionDefinition
  • ObjectStateTransitionAction
  • Knowledge__kav

Screenshot 2024-10-11 at 5.14.46 AM.png

解決策

This behaviour is functioning as designed. To avoid the error, ensure the Context/Object ID used for document generation belongs to a supported object that permits document attachment.

 
ナレッジ記事番号

002890901

 
読み込み中
Salesforce Help | Article