Question
Morgan Stanley
IN
Last activity: 26 Jan 2018 10:35 EST
Purpose of having pyCaseTypePurpose value as GETCOVERABLEWORKTYPEINFO to retrieve coverable classes for a case
I have seen the below code in a function, used to get the list of coverable cases for a case type:
ParameterPage pp = new ParameterPage();
StringMap casetype = new HashStringMap();
casetype.putString("pxObjClass", "Rule-Obj-CaseType");
casetype.putString("pyPurpose", "pyDefault");
casetype.putString("pyClassName","ABC-ABC-Work-ABC");
pp.putString("pyCaseTypePurpose","GETCOVERABLEWORKTYPEINFO");
pp.putString("PageListName","CoverableCases");
tools.doAction(casetype, null, pp);
However, i'm unable to understand the purpose of having pyCaseTypePurpose and a value for it.
***Edited by Moderator Marissa to update categories***