AmericaSCORESBayArea / AmericaSCORESBayArea/salesforce-data-api
Student count mismatch between real number of records and Roll-Up Summary value
- Ngôn ngữ chính
- DataWeave
- Star
- 2
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Description**
> When loading the student list, the network tab initially showed only 4 students, while the UI displayed 82 students. After marking students present and refreshing the screen, the API correctly returned 82 students (as confirmed in the second image’s network tab).
**Root Cause**
We currently use a Roll-Up Summary Field in Salesforce to calculate the number of records. According to Salesforce documentation, updates can take up to 30 minutes, which likely explains the discrepancy.
**Next Steps / Proposal**
• Investigate alternatives to Roll-Up Summary Fields for more accurate, real-time counts.
• Consider running a SOQL query on every call to ensure the student count is always up to date.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.