We are setting up a syncronization of incidents and attached SLA records from servicenow to JIRA.
As i understand any change to the records will trigger a sync.
On the SLA records however, there is a field āElapsed business durationā which is updated very frequently. We donāt want to sync that field and we donāt want a sync to be triggered everytime this field is updated.
Answer by Francis Martens (Exalate) on 17 January 2022
If an incident is under sync, each time that there is an update - Exalate for ServiceNow will poll for that incident and run the outgoing sync processor.
If the result replica object is identical to the previous replica object or if the replica object is empty, no sync transaction will be triggered (and the change ignored)
Your requirement is met if the field āElapsed business durationā is not copied into the replica (and no other field changed)
Comments:
Lars Tange commented on 18 January 2022
Thanks - great answer. So in the below script, assuming that the only field changing is the business_duration, a sync will only happen if active = false?