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.

Troubleshooting: pyCommitError on Create, Copy (Save As), or Import of a circumstanced rule

Suggest edit Updated on October 2, 2015

When you try to save some circumstanced rules, you get the pyCommitError. You see the error in any of the following situations:

  • Creating a new circumstance rule
  • Performing a Save As of an existing rule
  • Attempting to import a circumstance rule

Successful creation of circumstance rules depends on the PXINSNAME column of the pr_index_circumstance_def database table having an adequate width for internal tracking of the rules.

A column width of 128 characters or less is inadequate. Increase the PXINSNAME column width to 255 characters or more.

Error

2014-06-18 21:45:16,137 [http-apr-8080-exec-7] [Developer] [pegasupport:01.01.01] (Accel_Optimization_Work.Action) FATAL localhost|127.0.0.1 pegasupport - .pyCommitError: ** A commit cannot be performed because a deferred save of instance
INDEX-CIRCUMSTANCEDEFINITION RULE-HTML-SECTION PEGASAMPLE EXACTLYAHUNDREDCHARACTERSEXACTLYAHUNDREDCHARACTER

#20140619T014515.885 GMT!1!CDEF failed: code: <none> SQLState: <none> Message: <none>

Scenario

For the database table pr_index_circumstance_def, if the PXINSNAME column width is 128 characters or less, you experience this issue. The following screens illustrate one of the scenarios that triggers the error.

Circumstanced rule Section Save As

pyCommitError

Suggested approach

If the width of the PXINSNAME column in the pr_index_circumstance_def table is 128 characters or less, increase the column width to 255 characters.

Related content

Circumstances and other rule qualifiers

Circumstances — Concepts and terms

Working with the PegaRULES database Index tables

About Circumstance Definition rules

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us