Discussion2Replies6422Views anandchouti Member since 2014 14 posts PEGA Posted: 4 years agoLast activity: 4 years 6 months ago Closed How to access in built Utilities functions from Java codeWe use the property value @(Pega-RULES:Utilities).SizeOfPropertyList(.pySteps) to get the count of steps in an activity.How do I get the same count when writing custom Java code in an activity.***Updated by moderator: Lochan to add Categories*** Data Integration Java and Activities ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion. Posted: 4 years agoGOWRISHANKAR PEGA replied to anandchoutiHi, The following code will help? int size = pega_rules_utilities.SizeofPropertyList(.pySteps); pega_rules is ruleset name. if there is - defined in the ruleset it should be specified as "_" here. utilities is library name. SizeofPropertyList is function name. Function name should be prfixed with '.' , rest others are connected by '_' (ruleset and library). Let me know , if this is not clear. Thanks, Gowrishankar. Posted: 4 years agoshivendrak6931 Infosys replied to anandchoutiThanks GOWRISHANKAR. It is a helpful code.