Good day,
Can someone please help me understand how BP works in the background with regards to collections?
I have a collection field inside of my Item Data which contains a few rows and fields. After I get next item, I enter a work step page. Before I do anything on that page, I set the collection from Item Data into working collection on that page using a calculation stage. This is to allow for better exception handling. Meaning, I want to process the working collection and only after I am done with the processing, I want to set the collection back into Item data. The reason for this is that I do not want to change the original data if I am not done with all the wok in that work step. But I realised that when I update the working collection (which is not a global data item) on that page, the collection within Item data is also updated. Can someone please explain why this happens? Is it some sort of memory efficiency mechanism of BP? So when I use the calculation stage to set the working collection it only 'points' to the collection in the Item Data?
Thanks in advance.