Whitelisted Functions in Pega

What are the reasons for some Pega functions are whitelisted and others are not in the below example? As we know, the functions that are not whitelisted would have a direct impact on the Pega Strategy execution performance.

As you can see from the examples in the attachment, some functions with the same/similar signatures and behaviors are whitelisted and a few are not.

My questions are:

  1. Is there any specific reasons behind the functions being whitelisted?
  2. What is the impact of marking some functions from non-whitelisted to whitelisted? Examples are :
  • @(Pega-RULES:Utilities).PropertyHasValue(com.pega.pegarules.pub.clipboard.ClipboardProperty)
  • @(PegaMKT-Engine:PegaMKTUtilities).IsDateSameAsToday(java.lang.String)

Thanks,

Nanjundan Chinnasamy | Pega Lead Decision Architect | DCS | CDH

Hi @Nanjundan Chinnasamy

Hope you are doing well. Please go through the links below for your understanding.

INC-272643-Some functions included in the ‘pyWhiteListFunction’ data transform were appearing as unoptimized. However, when the same functions were added to the ‘pyAllowListFunction’ data transform, the status showed as optimized. The function of whitelist and allowlist are the same and there should be consistent handling of the components; this has been resolved with an update to support white-listed functions as expected.

Hope it helps.

Thanks

Megha

Hi @Megha007,

Thank you for the links, i have gone through the documentation already and I believe the documentation is toward custom functions.

My questions are specific to Pega OOTB functions the reason for discrepancy and the impact of adding non-whitelisted functions to the list.

@Nanjundan Chinnasamy could you confirm how you generated the table shown in your image ?

@MarioBatres do you recognize this issue? The functionality is described below. The question above is ‘what would be the impact of adding non-whitelisted functions to the list?’

Optimizing strategies with allow list functions ('24.1)

@Nanjundan Chinnasamy

  1. There are plans to whitelist OOTB functions in coming releases.

  2. You can whitelist these functions by following the instructions mentioned Optimizing strategies with allow list functions and there should be no impact.

@gongr ,

Thank you for keeping us posted for this.

Thanks,

Nanjundan Chinnasamy