# Need to pass max records retrieve count to Report definition from Activity

**URL:** <https://forums.pega.com/t/need-to-pass-max-records-retrieve-count-to-report-definition-from-activity/3466>\
**Category:** General\
**Tags:** reporting, financial-services, case-management, pega-platform, senior-system-architect\
**Created:** [November 6, 2022, 2:57pm UTC](https://forums.pega.com/t/need-to-pass-max-records-retrieve-count-to-report-definition-from-activity/3466 "2022-11-06T14:57:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jitendra\_B](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@Jitendra\_B](https://forums.pega.com/u/Jitendra_B)\
**Post date:** [November 6, 2022, 2:57pm UTC](https://forums.pega.com/t/need-to-pass-max-records-retrieve-count-to-report-definition-from-activity/3466/1 "2022-11-06T14:57:14Z")

</div>

Hello

Calling Report definition from an activity, need to pass max records to retrieve count to Report definition from activity dynamically without hardcoding in Report definition data access tab

Thanks,

Jitendra

---

<div class="post-metadata">

**Author:** ![Gunasekaran\_Baskaran](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/gunasekaran_baskaran/32/2203_2.png) [@Gunasekaran\_Baskaran](https://forums.pega.com/u/Gunasekaran_Baskaran)\
**Post date:** [November 7, 2022, 3:01am UTC](https://forums.pega.com/t/need-to-pass-max-records-retrieve-count-to-report-definition-from-activity/3466/2 "2022-11-07T03:01:18Z")

</div>

@JithendraB

Please refer below mentioned Pega OOTB activity, in that Pega will pass the result count dynamically based on business need to fetch result by using report definition through activity.

Activity Name = pzSendEmailDigest

Attached screenshot for reference.

 ![RD Count.png](https://pega1.discourse-cdn.com/pega/original/2X/e/e9584cc62cc11885d69331625e162a1aed584886.png)
