Question4Replies59Views ChihiroN Member since 2020 5 posts Comture Corporation Posted: 3 months agoLast activity: 3 months 1 week ago Solved How to get the ID of Current Case?I want to get the ID of Current Case because I want to use it for filter in report definition. I want to display a graph in a section with only data about the current case.So I tried to create a filter; ".pyID Is equal pyCurrentCase"However, it doesn't work and I saw an error;Filter Value—An invalid comparison value or an invalid column has been entered for the right-hand side of a filter condition. Enter a valid column, calculation, or literal value.How can I do?Thank you for reading and answering. Pega Platform 8.2 ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 3 months agokanap2 PEGA replied to ChihiroNTo get the ID of the current case, we can use pyID.Could you please share the screenshots of the Report Definition. Posted: 3 months agoUpdated: 3 months agoChihiroN Comture Corporation replied to kanap2Thank you for your answering.I'm sorry, but maybe I didn't have enough words. What I really want to do is to use the data of the only right now opened case as the source for the filter. I will attach a screenshot, but I don't know if it will be helpful.I'd be happy if you could give me more advice. Thank you. Accepted Solution Posted: 3 months agoUpdated: 3 months agoduraisankar Serendebyte replied to ChihiroNHi,When you are running this report in the pyWorkPage context, you can specify the property directly. .pyID Is equal .pyIDIf you are running this report in any other context, you can declare "pyWorkPage" and it's the class in Pages & classes tab and you can specify like below .pyID Is equal pyWorkPage.pyIDI hope it helps.Good Luck! Posted: 3 months agoChihiroN Comture Corporation replied to duraisankarHi, thank you for answering. Thanks to you my problem has been solved!.pyID Is equal pyWorkPage.pyID is useful for me. Thank you for your wonderful answer.