Question

4
Replies
3067
Views
S_Yennam Member since 2014 32 posts
Virtusa Corporation
Posted: 3 years ago
Last activity: 3 years 10 months ago
Closed
Solved

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>

Low-Code App Development Low-Code App Development Dev/Designer Studio
Moderation Team has archived post
Share this page LinkedIn