Fix workflow run updates real time (#15701)
as title ## after https://github.com/user-attachments/assets/34239b6e-16d6-4afd-9a54-cb4767179bea
This commit is contained in:
+1
-12
@@ -14,16 +14,6 @@ const isWorkflowVersionStepsOrTrigger = (
|
||||
);
|
||||
};
|
||||
|
||||
const isWorkflowRunState = (
|
||||
objectMetadataItem: ObjectMetadataItemWithFieldMaps,
|
||||
key: string,
|
||||
) => {
|
||||
return (
|
||||
objectMetadataItem.standardId === STANDARD_OBJECT_IDS.workflowRun &&
|
||||
key === 'state'
|
||||
);
|
||||
};
|
||||
|
||||
const isWorkflowAutomatedTriggerSettings = (
|
||||
objectMetadataItem: ObjectMetadataItemWithFieldMaps,
|
||||
key: string,
|
||||
@@ -50,8 +40,7 @@ export const objectRecordChangedValues = (
|
||||
// Temporary ignore workflow json fields changes
|
||||
if (
|
||||
isWorkflowAutomatedTriggerSettings(objectMetadataItem, key) ||
|
||||
isWorkflowVersionStepsOrTrigger(objectMetadataItem, key) ||
|
||||
isWorkflowRunState(objectMetadataItem, key)
|
||||
isWorkflowVersionStepsOrTrigger(objectMetadataItem, key)
|
||||
) {
|
||||
return acc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user