You need to sign in to do that
Don't have an account?
Dr. Thomas Miller
Replication API and formula fields
If a formula field value on a record changes without the record being modified itself (last modification date), will the getUpdated() call of the replication API include this record's ID?
The fomula fields are read only fields which don't update the Salesforce's audit fields (Like CreatedDate, LastModifiedDate) and gets calculated realtime. Now, Replication APIs wouldn't find the record Id unless there is any change in any of the field which changes the formula field.
For ex. If you have any field on Parent object which is referred in Child Object's formula field calculation then It won't update the audit fields on Child object. So, you wouldn't be able to obtain the updated record Ids for Child records.
In nutshell, Replication API won't work with formula fields.
Workarond : Don't use formula fields, use normal fields and workflows/process builder/apex triggers for formula calculations.
Do post here further if you have any questions.
Happy Coding!!