Passing Parameters to Function Alias
Hi All,
I have a Report Defination and I am using Function Alias in that.
I have mentioned NULL in parameter <<See PassingParameter.png in attachments>>. But If I trace it "'NULL'" its taking it as string <<See TracerParameter.png in attachments>>.I think pega is adding "' PARAMETER '" (Double Qoutes) to string passed.
Now I need Regular Expression to compare "'NULL'" in my soure code of Function Alias.
I used below code but below highlighted line is failing.
<pega:choose>
<pega:when test=".pyParameters(3).pyParametersParamValue == '\"NULL\"'">
(CASE WHEN ({1} IS NULL)
</pega:when>
<pega:otherwise>
(CASE WHEN ({1}={3})
</pega:otherwise>
</pega:choose>