Deletion of created segment fails
After applying of HFix-28476, HFix-28466 and HFix-30624 users wanted to clean up the marketing application with removal of old segments created before applying the hotfixes. Deletion of segment fails with error message.
Although there are no campaigns making use of this segment.
This segment is currently in use by a running campaign and cannot be deleted at this time
Steps to Reproduce
1. Create marketing segment in designer studio (creation fails).
2. Apply HFix-28476, HFix-28466 and HFix-30624.
3. Delete marketing segment created before installation of hotfixes.
The query generated from Validate Delete activity was having incomplete columns to be fetched, hence was skipping from step 3 to step 12:
SQL : SELECT "PYCLASSNAME" AS "pyClassName" , "PYPURPOSE" AS "pyPurpose", "PZINSKEY" as "pxInsHandle" from <RULES_User>.pr4_rule WHERE ( "PYPURPOSE" LIKE ? ) AND ( "PXOBJCLASS" = ? )
SQL Inserts: <DF%> <Rule-Decision-DDF>
Resave the segments created prior to the application of HFix's, so that the segment rules are re-generated and the query generated from Validate Delete activity is seen as:
SQL: SELECT PYCLASSNAME AS "pyClassName" , PYPURPOSE AS "pyPurpose", PZINSKEY as "pxInsHandle" from <RULES_User>.pr4_rule WHERE ( PYCLASSNAME = ? ) AND ( PYPURPOSE LIKE ? ) AND ( pxObjClass = ? )
SQL Inserts: <PegaMKT-Data-Customer-SegmentName> <DF%> <Rule-Decision-DDF>
Note: Delete the old segments.
0% found this useful