a!queryrecordtype

Hi All,

I am using a!queryrecordtype() function to retrieve data from records but every time it also calculates the fetchtotalcount parameter even if I gave it as false.

Can anyone please help me out how to remove the totalcount calculation.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Using the fetchTotalCount parameter

    For record types with data sync enabled, fetchTotalCount is applied because Appian already knows the total number of records and therefore doesn't need to query the source to provide this information.

    For record types without data sync enabled, there is a performance cost to getting the total number of records with a query. If you decide you want to retrieve the total count, set fetchTotalCount to true. 

Reply
  • 0
    Certified Senior Developer

    Using the fetchTotalCount parameter

    For record types with data sync enabled, fetchTotalCount is applied because Appian already knows the total number of records and therefore doesn't need to query the source to provide this information.

    For record types without data sync enabled, there is a performance cost to getting the total number of records with a query. If you decide you want to retrieve the total count, set fetchTotalCount to true. 

Children