Skip to main content
facundoc4443
New Participant
Mar 27, 2025 2:30 PM UTC
Question

Sync Records Smart Service - Loop because outputs dont work

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

Inspiring
Mar 27, 2025 3:42 PM UTC

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
New Participant
Apr 3, 2025 3:28 PM UTC

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

pabloe322909
Participating Frequently
Apr 2, 2025 8:19 AM UTC

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
New Participant
Apr 3, 2025 3:31 PM UTC

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