Pega Frequently Used String Function And Expressions

 Hi,

In this blog we will see some of the frequently used expression and functions.

1) 

trim(@substring(@whatComesBeforeFirst(Param.HistoryID,'T'),9)

Ex: Put Param.HistoryID = CTA-12009 20210315T143845.210 GMT


Output =  20210315


2) getCurrentDateStamp() 

Return type of getCurrentDateStamp() is String. Get the current date in Pega format (yyyyMMdd)


Output = 20231201


Comments

Popular posts from this blog

Frequently Used Date Expressions In Pega

pxSubscript and pxListSubscript Properties In Pega

pyForEachCount In Pega