How to check whether the query record function returns empty result if the data does not match with the filtered data?

Hi,
I am fetching the data from DB using queryrecord function with filters to create the stacked bar chart in Appian 7.2. How to check whether the query record function returns empty result if the data does not match with the filtered data?
If it returns empty result , I don't want to create the chart else I need to display the chart.

Thanks in advance!...

OriginalPostID-108058

OriginalPostID-108058

  Discussion posts and replies are publicly visible

Parents
  • You did not pass in the keyword argument, 'logicalExpression|filter|search':
    , before you declared your type!QueryFilter.

    Also keep in mind that because you are adding .data to the end of your queryrecord() expression you will only be saving the data portion of the query. This means your next local variable for total will not evaluate correctly, as .totalCount will only available if you save the full datasubset in your local variable.
Reply
  • You did not pass in the keyword argument, 'logicalExpression|filter|search':
    , before you declared your type!QueryFilter.

    Also keep in mind that because you are adding .data to the end of your queryrecord() expression you will only be saving the data portion of the query. This means your next local variable for total will not evaluate correctly, as .totalCount will only available if you save the full datasubset in your local variable.
Children
No Data