Skip to content

Commit

Permalink
fix: fixed lookup search in cor:RecordsTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh committed Aug 9, 2024
1 parent fd1f2d8 commit 2b99f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addons/modules/sfdmu-run/RecordsTransform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export default class RecordsTransform extends SfdmuRunAddonModule {
let sourceRecords = field.sourceTask.sourceTaskData.records;
let targetRecords = field.sourceTask.targetTaskData.records;

if (transformation.targetObject == field.sourceObject) {
if (transformation.targetObject == field.sourceObject || !!field.lookupExpression) {
// Same object => direct transformation (formula[accountCategory] = Account.Category__c)
__setFormulaValue(formula, transformedRecord, transformedRecord, field, sourceRecords, targetRecords);
} else {
Expand Down

0 comments on commit 2b99f5a

Please sign in to comment.