Question

4
Replies
3188
Views
Close popover
SATEESH YENNAM (S_Yennam)
Virtusa Corporation
Senior System Architect
Virtusa Corporation
US
S_Yennam Member since 2014 32 posts
Virtusa Corporation
Posted: October 24, 2016
Last activity: July 24, 2017
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 Enterprise Application Development Dev/Designer Studio
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.