Question
PEGA
Pegasystems Inc.
IN
PEGA
Posted: May 11, 2016
Last activity: May 11, 2016
Last activity: 11 May 2016 10:31 EDT
Closed
Solved
How to know param names in parameter page
Param names in parameter page are dynamic in nature and we don't know them before hand. Is there a way in Java or OOTB utilities to know the param names?
Posting my reply for the same question posted in another mesh space (internal space only available to Pega employees) -
In a Java step you can get the reference to the ParameterPage object by calling tools. getParameterPage() . The ParameterPage class implements the Java Map interface. You can then use the keyset() method to get the list of all the keys which would be parameter names.
Please refer to Engine Help and take a look at com.pega.pegarules.pub.runtime.ParameterPage class for more information.
Message edited by Moderator