Question 2 Replies 57 Views × Close popover Raghavender Reddy Lankapothu (RaghavenderReddyL) EvonSys EvonSys IN View Profile Send Message RaghavenderReddyL Member since 2018 12 posts EvonSys Posted: December 10, 2020 Last activity: December 12, 2020 Posted: 10 Dec 2020 8:14 EST Last activity: 12 Dec 2020 4:10 EST Calling Function rule inside a Custom function Hi, i have created a Function rule called "A". i need to use one of the Pega functions ex: contains or Replaceall inside my custom function rule "A". Can some one help how to acheive this? Thanks, Raghavender. Pega Platform × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Posted: 4 months ago Posted: 10 Dec 2020 16:28 EST × Close popover Braam Smith (BraamCLSA) PEGA Partner Success Tech Lead - APAC Pegasystems Inc. AU View Profile Send Message BraamCLSA PEGA replied to RaghavenderReddyL Hi @RaghavenderReddyL All Function rules can be invoked as static Java methods according to the convention: [library-ruleset-name]_[library-name].[function-name] ... where: Any not-Java-safe characters are replaced with an underscore; The Java classname is all lower-case; and The capitalization of the Function name is preserved as the method name. So, to call the following OTB function: Ruleset: Pega-RULES Library: DateTime Function: CompareDates(String, String) Returning: Boolean ... you can use the following code in your custom Function: boolean localResult = pega_rules_datetime.CompareDates("...", "..."); Posted: 4 months ago Posted: 12 Dec 2020 4:10 EST × Close popover Raghavender Reddy Lankapothu (RaghavenderReddyL) EvonSys EvonSys IN View Profile Send Message RaghavenderReddyL EvonSys replied to BraamCLSA Thanks!! Braam for the solution.