Question

4
Replies
174
Views
EricS571 Member since 2011 3 posts
Infosys
Posted: 2 years ago
Last activity: 2 years 3 months ago
Closed
Solved

OOTB function pxDoesHandleExist fails if parameter passed is not a valid handle

The built-in pega function 'pxDoesHandleExist' returns 'true' if the handle exists, as expected.

However, if the parameter passed is 'garbage,' for example - the function fails rather than returning 'false' - with the message "

 Class GARBAGE does not exist 

This does not fit with the use case given in the help file - where this function is meant to be used as a precondition for obj-open-by-handle so we can avoid trying to open a nonexistent instance of a rule.

Screenshot attached, please advise.

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn