Question
4
Replies
542
Views
Atos Syntel
Posted: January 7, 2019
Last activity: January 10, 2019
Closed
Solved
atools and tools parameter values used in functions
I have seen in lot of functions in Pega where a value called "tools" or "atools" sometimes passed as values for parameters (of type PublicAPI/ Activities) like below
@DecisionTable.ObtainValue(tools,myStepPage,"StageCode",true)
Anyone knows the reason for it, just to understand it, don't want to use it blindley.
***Edited by Moderator Marissa to update platform capability tags****
You should mention it to use PublicAPI function inside of the Java function. E.g in ObtainValue it used to get Parameter page.
There is also another way of doing this without passing "tools" parameters to the function:
you can use following code in your function: