Question

1
Replies
100
Views
Avinash.Haridasu Member since 2014 260 posts
Morgan Stanley
Posted: 2 years ago
Last activity: 2 years 8 months ago
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
Share this page LinkedIn