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
- Create a repeating grid with a delete item.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.