Why Association adding is not available inside report definition ?
Hi @MonikaS9010,
To add association rule first you need to create association rule( Data Model > Association Rule) and then go to report definition in query tab add the association rule in column source then only you will find the association rule in data access tab.
Please find the below attachments for your reference:
Regards,
Prasad.
Associations in Pega are designed to be defined separately from report definitions to promote reusability, maintainability, performance optimization, and security. This design approach ensures that relationships between classes are managed consistently and efficiently, providing a robust foundation for building complex reports and other data-driven components in Pega. By leveraging predefined associations, you can simplify the report design process and ensure that your reports are accurate, performant, and maintainable.
Association is basically a Pega rule where join two classes frequently in RD so that you can have a option of reusability of join rules where data is needed again and again with the second class of Data table.
It will automatically prompt if we use any association rule b/w those classes it will appear automatically and can see the significance on the RD. It is used when for example a user need 10 times join so that time instead of using join again and again we use association which can be created from Datamodel >Association.
It also comes with one condition of Association class name should be the prefix only.



