go to post Satya Prasad Kalam · Feb 6, 2022 Here is the custom class for this... You should add this in one of your custom class which Extends Ens.Rule.FunctionSet so that it is visible in Routing Rule. ClassMethod DaysFromToday(pDate As %String) As %Integer{ Set tNow = $H+0 Return $ZDATEH($EXTRACT(pDate,1,8),8) - tNow} I got this from Jeffrey Drumm. Certifications & Credly badges:Satya Prasad has no Certifications & Credly badges yet.Global Masters badges:Satya Prasad has no Global Masters badges yet.Followers:Satya Prasad has no followers yet.Following:show all 1Jeffrey D.
Here is the custom class for this...
You should add this in one of your custom class which Extends Ens.Rule.FunctionSet so that it is visible in Routing Rule.
ClassMethod DaysFromToday(pDate As %String) As %Integer
{
Set tNow = $H+0
Return $ZDATEH($EXTRACT(pDate,1,8),8) - tNow
}
I got this from Jeffrey Drumm.