Question

1
Replies
368
Views
Prashant Mishra (PrashantM4246)
HTC Global Services
Management Consultant
HTC Global Services
IN
PrashantM4246 Member since 2016 1 post
HTC Global Services
Posted: June 12, 2018
Last activity: June 22, 2018
Posted: 12 Jun 2018 5:27 EDT
Last activity: 22 Jun 2018 5:43 EDT
Closed

Predictive Model rule

As per our client requirement, while uploadng a PMML file having error during the creation of Predective Model rule we need to achieve the below mentioned objectives, :

1. The rule should not be saved.

2. It should show how many errors are there and at which line it is present.

3. It should show XML section as it used to show in earlier version

<Pega Version 7.3.1>

In other application point 2 and 3 are working but in our application all the abovementioned 3 objectives are not working.

So to meet our objective me made some customization in the pega rules:

  1. pyUploadSourceFile- Step 6 added. FromStep 6 we are calling activity pyParsePredictiveModelFile
  2. pyParsePredictiveModelFile-Step 4 and 5 added. In step 4 we are doing Page-Remove<.pxMessageSummary> and in Step 5 Property-Remove<.pyErrors>
  3. pyValidatePMMLModel-Step 4, 5,6 commented and step 7(instead of step 4 ) and 8 added. In Step 7 we are validating PMML model using the model's XSD using Java and in Step 8 we are parsing the model, populate the evaluation context and available models using Java

Please help us in validating if these changes will have any adverse impact on the normal behavior of the application.

***Updated by moderator: Lochan to update Categories***

Low-Code App Development Decision Management Support Case Exists
Moderation Team has archived post, 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.