Discussion 2 Replies 6481 Views × Close popover Anand Chouti (anandchouti) PEGA Lead System Architect Pegasystems Inc. IN View Profile Send Message anandchouti Member since 2014 14 posts PEGA Posted: February 2, 2016 Last activity: April 7, 2017 Posted: 2 Feb 2016 2:30 EST Last activity: 7 Apr 2017 11:38 EDT Closed How to access in built Utilities functions from Java code We 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 popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover 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: 5 years ago Posted: 18 Feb 2016 2:07 EST × Close popover Gowrishankar Ramasamy (GOWRISHANKAR) PEGA Sr. Service Assurance Advisor Specialist Pegasystems Inc. IN View Profile Send Message GOWRISHANKAR PEGA replied to anandchouti Hi, 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: 5 years ago Posted: 16 Mar 2016 8:29 EDT × Close popover Shivendra Kumar (shivendrak6931) Infosys Shivendra Kumar Infosys IN View Profile Send Message shivendrak6931 Infosys replied to anandchouti Thanks GOWRISHANKAR. It is a helpful code.