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

Unable to delete segments

SA-48223

Summary



Unable to delete segments.


Error Messages



This segment is currently in use by a running Campaign and cannot be deleted at this time


Steps to Reproduce



Delete an existing segment in the ruleset.


Root Cause



A software use or operation error:
  1. Few segments are locked before changing the PegaMKT data source and Pega Marketing external class mapping.
  2. Few segments are corrupt. These segments are created with an earlier PegaMKT data source. The new data source created, did not have the privilege to create a table on the PegaMKT data source. Additionally, the external mapping on the PegaMKT class is modified.
  3. Few segments in the segment class are deleted. The rest of the segment components still exist, such as, like report definition.
  4. Few segments include references to the data flow. The class that the data flows refer to is deleted. During the deletion, the ValidateDelete activity refers to the data flow of the PegaMKT-Data-Customer class according to pattern inheritance.


Resolution



Perform the following local-change:
  1. Remove the segment lock instance from the lock table pwbv4_rule_locking (displayed in the tracer).
  2. Grant the PegaMKT database user with the permission to create table. Segments can now be deleted.
  3. Perform a private edit of the ValidateDelete activity and remove the Jump condition during deletion of the segment.

Suggest Edit

Published March 30, 2018 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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