how to skip sync record node in process module if no change in the data to previous data
here there is no change in data so it is showing error
Discussion posts and replies are publicly visible
If you are able to identify if no changes made to data then you can simple by pass using xor.Do you want to know how to identify data changed?
no how can we identify
To compare two records and check if they've changed, save your old record in existingRecord and the updated record in newRecord. Use the symmetricdifference() function to compare fields - it returns empty when values are identical. Added below code just for reference.
not( and( a!isNullOrEmpty( symmetricdifference( existingRecord.field1, newRecord.field2 ) ), a!isNullOrEmpty( symmetricdifference( existingRecord.field1, newRecord.field2 ) ) )
I suggest you add an xor node between the Execute SP node and sync record node. Put condition in the xor to check whether the cdt or value in field 'rowId_int' is null or not.
or(pv!CR_APP_EntityRating,a!isNullOrEmpty(property(pv!CR_APP_EntityRating,"rowId_int",{})))
If its true then process should skip the sync record node else it should flow into it.
Note: If you have a record then accordingly provide the record field reference for rowId_int instead of "rowId_int" within the property() function in XOR condition.