I have a flow where I've looked up and looped through service contracts and looked up and looped through contract line items storing sobject variables which I've placed into a collection. I then create opportunities with the info I have from service contracts.
I have 2 questions:
I want to check if the way I'm getting the newly created oppty ids is the only way or if I'm missing something. I do a fast lookup on opptys looking for an id I save on the opptys as I create them. I then loop thru the collection and save the ids as sobject variables which I add to a collection.
Is is possible to add a sobject variable to a collection and later in the flow add more data to the same sobject variable and then add that data to the same collection without overwriting the variables gathered?
In my case, I use the same collection to collect the newly created oppty ids and to which also had other sobject variables added but when I attempt to fast create the oppty line items it does not work, stating that info I verified with screens earlier is not present
Hope that makes sense!