Skip to main content
lokeshd240103
New Participant
Nov 30, 2026 12:14 PM UTC
Question

Scheduled Incremental Sync for Service-Backed Record Type Every 2 Hours

Hi Appian Community,

I’m implementing Scheduled Incremental Sync for a service-backed Record Type in Appian 26.10.

Use case:
We need to sync the Record Type every 2 hours, retrieving only the latest/newly created or modified records based on Created Date / Modified Date.

The current flow is:

Record Type → Changed Data Expression → Integration → Web API → Query Entity

I have configured the Changed Data Expression and Integration based on the Appian documentation. However, when the scheduled incremental sync runs, I receive the following error:

The Record Data Source returned an error.
Title: The external system encountered an error
Detail: HTTP/1.1 500 Internal Server Error
Message: Failed to connect to the Web API.

The integration ultimately calls the Web API, which queries the entity and returns the updated records.

The Appian documentation provides guidance for configuring the Changed Data Expression and Integration, but I’m looking for more details on the complete configuration required for this type of setup.

Has anyone successfully implemented scheduled incremental sync for a service-backed Record Type using a Web API?

If so, could you please share the recommended configuration, particularly how lastSuccessfulSync / Created Date / Modified Date filtering should be handled?

Thanks in advance!

4 replies

shubhama926776
Brainy
Nov 30, 2026 1:33 PM UTC

A 500 means your Web API's expression is failing. Test it on its own with a sample modifiedSince value, and handle the date, which arrives as text and can be null (todatetime() + applyWhen).
If the data is in an Appian table, skip the Web API and use a database-backed record type with scheduled incremental sync.

शुभम्
lokeshd240103
New Participant
Nov 30, 2026 2:03 PM UTC

Earlier, we were using an entity-backed Record Type. Due to heap-related issues, we converted it to a service-backed Record Type to enable batch-wise synchronization.

 

mathieud0001
Genius
Nov 30, 2026 1:43 PM UTC

Did you test the integration on its own?

lokeshd240103
New Participant
Nov 30, 2026 1:59 PM UTC

Yes, Integration working fine.