Solved How to delete one value in a collection

Status
Not open for further replies.
Hello All,

I am having a collection with one column, and I need to delete "Grand Total" from it (there may be n number of rows each time, but Grand Total will be there in the collection compulsory).

How can I achieve this.

Thanks in Advance
 

Attachments

  • Collection Field.png
    Collection Field.png
    5.5 KB · Views: 231

Rich

Member
Hi @Naveen Pittala

One option would be to use a loop.

Loop through your collection with a decision stage checking if the current row value = "Grand Total". i.e. something like:

[Retro Contracts.ACE - Retro contract]="Grand Total"

If yes - go to a 'Remove Row' action (from the Collection internal business object).
If no - go to the end of loop.

Hope that helps
Rich
 
Status
Not open for further replies.
Top