+ Start a Discussion
Cathy PostmusCathy Postmus 

INVALID_FIELD_FOR_INSERT_UPDATE: Unable to create/update fields: Product2Id.

Hi All, 

I wrote a new auto launched flow (API Version 50). It's a pretty simple flow. Get Order, get Order Products, Loop Order Products, get Product, assign Order Product Fields, Update Order Products.

When I run the flow, I get the following error message: INVALID_FIELD_FOR_INSERT_UPDATE: Unable to create/update fields: Product2Id.

However I'm not trying to update Product2ID. 

Thoughts?

AbhishekAbhishek (Salesforce Developers) 
https://trailblazers.salesforce.com/answers?id=90630000000gk6GAAQ

Try the solution as mentioned in the above developer discussion.


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
Cathy PostmusCathy Postmus
Hi Abhishek,

Appreciate your quick response. However, I'm not trying to update pricebook or products.  I'm trying to update a few fields on the Order Product record. Just pulling data from the related Product's fields. Any other suggestions?