Question

1
Replies
111
Views
Close popover
Avinash Haridasu (Avinash.Haridasu)
Morgan Stanley

Morgan Stanley
IN
Avinash.Haridasu Member since 2014 286 posts
Morgan Stanley
Posted: January 26, 2018
Last activity: January 26, 2018
Closed

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***

Case Management
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.