Skip to main content
kavyam0002
July 14, 2025
Question

Skip Sync records in PM

  • July 14, 2025
  • 4 replies
  • 0 views

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

    4 replies

    shubhama926776
    July 14, 2025

    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?

    kavyam0002
    July 14, 2025

    no how can we identify

    shubhama926776
    July 14, 2025

    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
          )
        )
      )



    If this is true proceed to sync, if false skip sync node using an xor.

    harshas2775
    July 14, 2025

    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.