Tutorial: How to edit, reorder, or delete values in the NBAM Proposition EditList
In Next-Best-Action Marketing (NBAM), Proposition Management, Proposition Data, deleting an EditList entry causes the EditList to revert to its original state as defined by the data table. Related to this issue is the fact that there is currently no intuitive way to reorder the entries on the NBAM Proposition EditList. This article suggests approaches for addressing these issues until the product is enhanced in a future release.
After you create a new Proposition on Pega 7.1.3 with NBAM 7.11 and update the field labels in the EditList for the proposition, the changes are reflected in the Proposition data table as expected.
However, when you try to delete the EditList entries, the changes are lost in the data table even after you check in the EditList record. This is unexpected behavior.
This problem occurs only when you delete EditList entries, not when you update or rename EditList entries.
The Tracer detects no errors during EditList entry deletions, updates, or during EditList check-in.
After deleting Proposition EditList entries, you notice that your changes are lost when you perform the following actions:
- Click the button on the landing page to view the Proposition data
- Log out and log in to NBAM
The EditList record reverts back to its original state even though it was saved and checked in after your last editing session.
Business properties form an integral part of NBAM offers and propositions.
By design, the Proposition data table first looks for the properties associated with the class. If you try to delete properties from the EditList.landing page, the system warns you and prevents this action in this context. This is why you cannot directly delete entries in the Proposition
When you open the NBAM Proposition from the EditList, your changes are overridden.landing page, the system checks for all the properties created in the corresponding class and displays the list. Therefore, if you delete an entry in the
In the NBAM Proposition EditList, you can modify field labels, but you cannot delete or reorder fields.
Reordering fields of the NBAM Proposition EditList
Follow these steps to reorder the fields of the NBAM Proposition EditList:
- Make the Proposition name (pyName) and BasePropensity the first two columns because they are integral to making the next-best-action decision.
- Leave the remaining fields alphabetically ordered.
- Make sure that the number of properties in the Proposition class matches the number of entries in the EditList.
- Reorder the fields in the EditList by changing both the list item and the field label.
Adopt this best practice until the EditList is enhanced to be a repeating grid with drag-and-drop capability.
Deleting fields of the NBAM Proposition EditList
Choose one of the following options to delete the fields of the NBAM Proposition EditList:
- Delete the property from the Proposition class. This deletes the column and the property value.
- Delete the pyDecisioningItem field from the History tab of the Proposition class to hide the column, and then add a custom field.
The following example screens show the progression of actions using the custom field example zzzzpyDecisioningItem.
- Open the Class, go to the History tab, and click .
- Remove the standard field pyDecisionItem and add a custom field, zzzzpyDecisionItem.
- Save the rule.