Skip to main content

Sync conflicts with NOTUBIZ and iBabs

Many councils keep working in NOTUBIZ or iBabs while decidiq runs next to it. integriq connects the two: it holds the connection, polls the external system and brings meetings, agenda items and papers into decidiq. When the same field was changed in decidiq and in the external system since the last sync, nothing is merged on its own. decidiq keeps the field as a sync conflict until the secretariat chooses which value stands.

Connect NOTUBIZ or iBabs​

The connection is set up in integriq, not in decidiq:

  1. Open integriq and go to Connections.
  2. Link a NOTUBIZ or iBabs source and enter its credentials there.

decidiq records, for every object that came from the external system, which record it is bound to (an external identifier): the external system, the record's id and link, and when it was last synced.

Who sees sync conflicts​

Only the secretariat (the decidiq-secretariat group) and administrators can see and resolve sync conflicts. The entry Sync conflicts sits in the settings menu, next to Integrations, while integriq is installed. Anyone else who opens it sees an empty list.

Resolve a conflict​

  1. Open Sync conflicts. The list shows the open conflicts, oldest first: the field, the kind of object, the external system, both values and when the conflict was found.
  2. Open a conflict, for example the location of "Commissie Ruimte": the value in decidiq is "Raadszaal", the external value is "Burgerzaal".
  3. Choose one:
    • Keep decidiq value: the object stays as it is.
    • Take external value: decidiq writes "Burgerzaal" into the meeting.
    • Merge: enter the value that should stand, for example "Raadszaal (Burgerzaal bij drukte)", and decidiq writes that.
  4. Optionally say why in Why (optional).

The conflict then shows who resolved it and when, and it cannot be resolved again. decidiq writes the value as you, so the object's own rules still apply: a field you may not change is refused with a message and the conflict stays open. Sending the chosen value back to NOTUBIZ or iBabs is integriq's.

When a later sync reports the same field again while the conflict is still open, the conflict shows the newest external value; there is never more than one open conflict per field.

Reminders​

A conflict that has been open for more than seven days sends one reminder to the secretariat and the administrators: "A sync conflict on location (meeting) has been open for more than seven days". The reminder links to the conflict and is sent once per conflict.

For integrators​

integriq, or any importer, reports a conflict with POST /apps/decidiq/api/sync-conflicts and the body { externalIdentifier, field, externalValue, externalChangedBy, externalChangedAt, localChangedBy, localChangedAt }. The secretariat's choice is POST /apps/decidiq/api/sync-conflicts/{id}/resolve with { resolution: local | external | merged, mergedValue, note }.