function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jane Marchand 2Jane Marchand 2 

how to extrapolate an id from one sobject variable to different sobject variable

I want to loop thru an opportunity contact roles collection, and assign the 'contactid' to the id field of an sobject variable of type contact.I need this 
When I am in the assignment element, I cannot see "id" as an option in the fields listed aginast my sobject variable (of type contact.), but I can see id in the Loop Variable (of type Opportunity Contact Role).

What am I doing wrong?


JaneUser-added image
User-added image