Discussion2Replies6465Views×Close popoverAnand Chouti (anandchouti) PEGA Lead System Architect Pegasystems Inc. IN View Profile anandchouti Member since 2014 14 posts PEGA Posted: February 2, 2016Last activity: April 7, 2017Posted: 2 Feb 2016 2:30 ESTLast activity: 7 Apr 2017 11:38 EDT 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 agoPosted: 18 Feb 2016 2:07 EST×Close popoverGowrishankar Ramasamy (GOWRISHANKAR) PEGA Sr. Service Assurance Advisor Specialist Pegasystems Inc. IN View ProfileGOWRISHANKAR 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 agoPosted: 16 Mar 2016 8:29 EDT×Close popoverShivendra Kumar (shivendrak6931) Infosys Shivendra Kumar Infosys IN View Profileshivendrak6931 Infosys replied to anandchoutiThanks GOWRISHANKAR. It is a helpful code.