Skip to main content
facundoc4443
March 27, 2025
Question

Sync Records Smart Service - Loop because outputs dont work

  • March 27, 2025
  • 4 replies
  • 0 views
Hello, I'm creating a process model to synchronize a database with a record type.
In the process, I created a node that uses the "Sync Records" smart service.
According to the documentation, synchronizing more than 1,000 records requires a loop.
I've followed the steps, but the "Sync Records" smart service doesn't return anything in
the "ac!RecordsUpdated" variable, which should be used to avoid an infinite loop.
Here are some screenshots of the configuration and docs link.

docs.appian.com/.../Sync_Records_Smart_Service.html

The import to the database is successful, but the record type is not synchronized.

4 replies

March 27, 2025

Can you confirm that cons!GDE_recordType_prueba..., the rule used when setting the data input for recordType, is providing the you pm the expected value?

facundoc4443
April 3, 2025

Yes, cons!GDE_recordType_prueba is correct. i checked it in other process.

pabloe322909
Participating Frequently
April 2, 2025

The pv!recordIds variable seems to be empty, that's why the smart service doesn't sync any record, you have to check what value are you passing by parameter when calling the process, it should be an array of recordIds.

facundoc4443
April 3, 2025

Sorry, i cleared this value because it was long. The pv!recordsIds variable had 1000 values aprox.