Loading

Data Cloud: Understanding the Event Time Field and Record Modified Field

Fecha de publicación: Nov 13, 2025
Descripción

When creating a data stream in Salesforce Data Cloud, the Event Time Field and Record Modified Field are important settings that affect the accuracy and consistency of data updates.
Setting up these items without a proper understanding of them can lead to problems such as duplicate or missing data.

Solución

1. Overview of each item

Field NameCategoriesConfigurationExample of configuration target

Event Time Field

EngagementRequiredCreated date, event date, etc. (date not to be changed in the future)

Record Modified Field

Profile/Engagement/OtherOptionalLast Modified Date (to manage file processing order)

 

Point:
The "Event Time Field" plays a role similar to that of the primary key of data, and the "Record Modified Field" determines whether overwriting is allowed or not.

 

2. Range of application of full update and upsert

Update modeEvent Time FieldRecord Modified Field
Full updateNot applicableNot applicable
UpsertApplicableApplicable

 

3. Event Time Field

3-1. Role and characteristics

  • Role: Functions like a "composite primary key" that is added to the primary key.
  • Target field type: DateTime or Date
  • Category: Engagement only
  • Scope of application: Active only for "upsert" (inactive for full update)

3-2. Relationship with system item cdp_sys_PartitionDate

The selected Event Time Field is internally recorded to cdp_sys_PartitionDate. This field is a formula field, and the time is converted to 00:00:00 as follows for DateTime. This process is performed before the time zone conversion, so 9 hours are added later in the case of JST.

 

Conversion flow (example)

Processing stageValueRemarks
On import (UTC)

2025/1/20 19:00:00

Event Time Field
After formula is applied (UTC)

2025/1/20 00:00:00

Reset hours, minutes and seconds
After time zone conversion (JST)

2025/1/20 09:00:00

cdp_sys_PartitionDate

3-3. Operating rules

  • If the date matches: Overwrite the existing record
  • If date is different: Insert as a new record even with the same primary key

Note:
If the date in cdp_sys_PartitionDate differs even slightly, it is registered as a new record. (This is the reason why it is like a compound primary key.)

3-4. Recommended settings

Specify date fields that will not change in the future (e.g., creation date, event date, open date, click date).
Once set, they cannot be changed, so thorough consideration must be given before they are set.

 

4. Record Modified Field

4-1. Role and characteristics

The "Record Modified Field" is a field that is used to determine if an overwrite is possible.
The value set on import is managed as a high watermark (maximum value).

 FieldContent
Target field typeDateTime only (Date is not allowed)
CategoriesProfile/Engagement/Other
Scope of applicationActive only for upsert

4-2. Operating rules

ConditionProcess
Larger than the date and time of existing dataPerform overwrite
Identical or smallerUpdates are ignored

 

Example: If the existing "Record Modified Field" is 2025/11/19 10:25:45

Import valueProcessing result

2025/11/19 10:25:46 or over

Overwritten

2025/11/19 10:25:45 or under

Ignored

4-3. Cases where setup is not required

  • If the order in which data files are processed is always guaranteed
  • For data where order is not a concern

4-4. Recommended settings

In environments where the order of data processing may be disrupted, it is recommended that "Record Last Modified Date" be set as a record modified item.

 

5. Order of processing between Event Time Field and Record Modified Field

  1. Event Time Field (overwrite/insert decision)... Prioritized
  2. Record Modified Field (overwrite ability decision)

If the Event Time Field is different and created as a new record, the "Record Modified Field" is ignored because there is no comparison target.

 

6. Summary

FieldMain RoleOperating conditionsExample of recommended settings
Event Time FieldControl overwrite/insert as compound primary keyOverwrite if date matches, create new if date mismatchesCreated date, event date, etc.
Record Modified FieldControls whether overwriting is allowed or notUpdate only if greater than existing date and timeLast Modified Date, etc.

Correctly configuring these items enables maintaining data integrity and optimizing Data Cloud processing accuracy and performance.

 


Contributor: Nobuyuki Watanabe | Trailblazer Community Forum Ambassador

Serving as a Marketing Cloud Engagement consultant at FPT Japan Holdings Group. He is working to optimize customer communications using Marketing Cloud Engagement by supporting scenario design, data design, campaign operations, and personalization measures, with a focus on email, LINE, and PUSH.

 

The posts represent the views of the author who submitted them alone and do not necessarily reflect the position of Salesforce. Regardless of whether or not associated with Salesforce, posts may contain or constitute products, services, information, data, content or other materials provided by third parties ("Third Party Materials"). Salesforce does not control, endorse, or guarantee any Third Party Materials (including their accuracy, validity, timeliness, completeness, reliability, integrity, quality, legality, usefulness, security, or applicable intellectual property rights) and assumes no responsibility therefor. Posts provided in response to questions posted via message boards or forums, or that claim to answer questions, including questions about Salesforce or programs, are provided for general informational purposes and should not be relied upon as answers to specific questions not (even if the answer is marked as the "best" answer or similarly qualified). You should always contact Salesforce support for answers to your specific questions. Salesforce has no control over the content of posts and assumes no responsibility for the use or misuse (including distribution) of the content of posts by third parties.

 

If you have any questions, please take advantage of the knowledge of our Trailblazer community. 
https://trailhead.salesforce.com/trailblazer-community/feed

Número del artículo de conocimiento

005227575

 
Cargando
Salesforce Help | Article