Remote Process Sync: Attachment sync making incident form fields empty

Lindemour Vicen
Tera Expert

Hi all,

We have set up a remote process sync between two instances for our client and it works perfectly fine until you only upload an attachment and don't make any updates to form fields.

 

When only uploading an attachment the incident record on the inbound instance will have all of it's form field values changed to empty/deleted whilst the attachment successfully copies across

When only making updates to the form fields or uploading an attachment then making updates to the form fields that's when the inbound incident record retains all of it's form field values and also has the attachment successfully copy across

My question is, is there a configuration error or a reason as to why the remote process syncing of only attachments is causing this behaviour? 

Outbound subflow: Attachment action

LindemourVicen_0-1690175593819.png


Inbound subflow: Attachment action

LindemourVicen_1-1690175641613.png


Thanks,
Lindy

1 REPLY 1

jan_svihalek
Tera Expert

Hi,

my recommendation is to create flow variable, use the flow logic to set this flow variable somewhere at the beginning and check if the incoming payload contains anything in the "changed_fields" object.

 

And then use condition and run the update of the fields only if the changed_fields actually contained anything meaningful.