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
Discussion posts and replies are publicly visible
I am very sure that queryEntity does not sync your records. Why should it do that? It does not modify any data.
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.
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.
Thank you Mathieu, it is must appreciated.
Did you consider to add a "Sync Records" node to your process to sync that inserted record?
Good catch Stefan, honestly I hadn't considered that, sounds a good approach.
It is must appreciated.