Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Rest Integration not generating rules

SA-30842

Summary



Rest Integration is giving error while generating the rules.

Error Messages



Canceling rule generation, Definition required to conform to <parentclass>.Request instance created
.pyPropertyName: The pyPropertyName value request has been changed to Request


Steps to Reproduce




1. Add all first application rulesets in second app.

   ABC-Int        ->find by name first checked, Data- is parent class.
   ABC-Int-Test  ->find by name first unchecked , Data- is parent class


2. Add all second app rulesets in first app:

    ABC-            -> find by name first checked,Work-Cover- is parent class, created request property (single page,ABC-Int)
3. Create rest integration for any rest URL. In the last step give parent class as "ABC- " class. click on generate.
4. Observe that rules will not generate.

Root Cause



If 'find by name first' checked for any class, inheritance will apply by pattern, if 'find by name first' checked for parent class, respective sub classes also needs to be checked.


Resolution



Enable 'find by name first' check box for parent class which is given in rest integration.

 

Published December 26, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us