Question

1
Replies
329
Views
ParthaD4038 Member since 2015 2 posts
Virtusa - Polaris
Posted: 1 year ago
Last activity: 1 year 8 months ago
Closed

pxHTTPServletResponse is returning null in Authentication activity in Pega 7.3.1

In custom Authentication, I am getting access to any parameter in request object by code @java("((javax.servlet.http.HttpServletRequest)tools.getRequestor().getRequestorPage().getObject(\"pxHTTPServletRequest\")).getHeader (\"<ANY PARAMETER\")").

However when to access response object in the same authentication activity, it always returns null.

javax.servlet.http.HttpServletResponse resp = (javax.servlet.http.HttpServletResponse) tools.getRequestor().getRequestorPage().getObject("pxHTTPServletResponse");

the above snippet returns null value.

Is it bug in Pega 7.3.1?

Pega Platform Data Integration
Moderation Team has archived post
Share this page LinkedIn