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

Cannot create index through ‘Schema tools’

SA-103886

Summary



In Pega Developer Studio, unable to create an index when using the 'Schema tools' to create it.


Error Messages



Create index failed
You are not authorized to execute the API createIndex



Steps to Reproduce

  1. Log in with an operator with the PRPC:DatabaseAdministrators access group.
  2. Navigate to Configure > System > Database > Schema tools.
  3. Navigate to ‘PegaDATA > Tables > table_name > Indexes.
  4. Expand the node.
  5. Click ‘Add index’.
  6. Fill the form.
  7. Click ‘Create index’.
  8. Click the ‘table_name’ node to view the table history.


Root Cause



Operator has multiple access groups. The default access group does not have Index creation privileges; however ,the alternate access group has this privilege. The QueueBatchActivity establishes the Authorization information from the current user context using the default access group.


Resolution



Perform the following local-change:

Change the operator's default access group to that access group which has Index creation privileges.

Published April 10, 2020 - Updated December 2, 2021

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