Skip to main content
josec857524
February 24, 2025
Question

a!queryEntity & a!queryRecordType

  • February 24, 2025
  • 6 replies
  • 0 views

Hi All,

Hope you all are doing well, quick question, is it true that using a!queryEntity can skip the Record Type synchronization? I'm facing issues in my application cause I have an after insert trigger that is inserting a record based on some conditions, but the new record inserted is not being reflected in the application until I manually click Start Full Sync, wondering how can avoid this issue. By the way the version that I have is 23.4 Any help would be greatly appreciated.

Thanks in advance,

Jose Castellot

    6 replies

    stefanhelzle0001
    February 24, 2025

    I am very sure that queryEntity does not sync your records. Why should it do that? It does not modify any data.

    josec857524
    February 24, 2025

    Hi Stefan,

    Sorry, I may not have expressed myself correctly, what I wanted to say is that I want to do a query directly to DB without depending on Record Type synchronization. When the record is inserted by Appian, it is immediately synced, but if the record is inserted by the trigger at DB level, the record is not visible in my Application until I click manually Start Full Sync, that is what I want to avoid, I need the record inserted by the trigger can be immediately visible in my Application. 

    mathieud0001
    February 24, 2025

    You'll have to use queryEntity in that case. You can also use queryRecordType if you turn off data sync. But you'll also lose all the benefits that come with data synced Record Types.