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

Delete item action does not work correctly

SA-49305

Summary



The section displays incorrectly when deleting a case row from the repeating grid data. This occurs on configuring a Delete button with a When condition.

For example, .Approvers(<CURRENT>).DeleteFlag = "True"



Error Messages



Not Applicable


Steps to Reproduce

  1. Create a repeating grid with a delete item.
  2. Configure the When condition with <CURRENT> subscript on the Delete button. The section displays incorrectly.


Root Cause



A software use or operation error. Subscripts such as <CURRENT>, <NEXT>, and <PREVIOUS> do not work when used in When conditions. The purpose of these subscripts is to retrieve the specific context page while looping through a Page List in the activity step.
The <CURRENT> subscript retrieves the current indexed page (in loop) of the page list.



Resolution



Perform the following local-change for conditional deletion of the row:

Configure the Delete button in one of the columns and use the property in the When condition. The link can be disabled based on the condition.



Published March 29, 2018 - Updated October 8, 2020

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