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.
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.
Hi @RaghavenderReddyL
All Function rules can be invoked as static Java methods according to the convention:
[library-ruleset-name]_[library-name].[function-name]
… where:
So, to call the following OTB function:
… you can use the following code in your custom Function:
boolean localResult = pega_rules_datetime.CompareDates("...", "...");
Thanks!! Braam for the solution.