cancel
Showing results for 
Search instead for 
Did you mean: 

How to set multiple values in a collection last row

TakatoOta
Level 2

Hi all, Can you please suggest how to set multiple values in a collection last row.

I made this process, but  Multiple Calculation Stage "Set values" set only in the first row in every loop.

I want to set values in the last row after "Add Row" stage in every loop.

35693.png

35694.png

35695.png

I want to set values like this.

35696.png

Thank you!

3 REPLIES 3

@Takato Ota I just tried this and it worked for me. Possible to attach your process bprelease file here so we could check if there is anything wrong?

Hi Takato,

I am able to update the value in the last row using the similar flow. By default, the "Add Row" action will point to the last row index. Based on the screenshots you have attached, I can see that "Coll1" index is still at index 0 after adding a row to the collection. As mentioned by @shashank.kumar280  if possible, can you share your BP release file here.

35692.png

TakatoOta
Level 2

Hi @shashank.kumar280 @Athiban Mahamathi Mathialagan 

Thank you for your comment.

Now I know why I can't set values in a last row as the default.

There was a bug in the "Add Row" action that was customized in-house and doesn't point to the last row index.

When I use the default "Add Row" action,  it works correctly.

Thank you!