You need to sign in to do that
Don't have an account?
Lavinia Ciobanu
Flow INVALID_FIELD_FOR_INSERT_UPDATE error
Hi everyone!
I have an issue and I cannot figure it out what's the problem.
I have created a flow for changing shipping method and updating delivery address. When I run the flow with my system administrator profile everything goes as expected. When I try to run with a supervisior profile I have an issue when it tries to update some fields on OrderDeliveryGroupSummary Object and I have this error: : INVALID_FIELD_FOR_INSERT_UPDATE: Unable to create/update fields: DeliverToCountry, DeliverToCity, DeliverToName, DeliverToState, DeliverToPostalCode, DeliverToStreet. Please check the security settings of this field and verify that it is read/write for your profile or permission set
The problem is that I checked the object permission for this profile and it has the same permission as a system administrator. I gave access for everything this flow needs. These fields are not visible in the object because they are address type I believe, they are visibile only in Workbench, so I can not give access directly to these fields, but it's the same for System administrator and it works. How to solve this issue? Please help
Thank you!
I have an issue and I cannot figure it out what's the problem.
I have created a flow for changing shipping method and updating delivery address. When I run the flow with my system administrator profile everything goes as expected. When I try to run with a supervisior profile I have an issue when it tries to update some fields on OrderDeliveryGroupSummary Object and I have this error: : INVALID_FIELD_FOR_INSERT_UPDATE: Unable to create/update fields: DeliverToCountry, DeliverToCity, DeliverToName, DeliverToState, DeliverToPostalCode, DeliverToStreet. Please check the security settings of this field and verify that it is read/write for your profile or permission set
The problem is that I checked the object permission for this profile and it has the same permission as a system administrator. I gave access for everything this flow needs. These fields are not visible in the object because they are address type I believe, they are visibile only in Workbench, so I can not give access directly to these fields, but it's the same for System administrator and it works. How to solve this issue? Please help
Thank you!
It looks like the user or profile is missing FLS/access related to fields from the object OrderDeliveryGroupSummary.If its not the address fields, then it could be any other fields which gets modified where the user doesn't have access to. Since , admin would have Modify all permission it could work fine, but with this profile, you might want to check other fields too which gets updated in the transaction.
Similar discussions:
https://developer.salesforce.com/forums/?id=9062I000000XjnCQAS
https://developer.salesforce.com/forums/?id=9060G000000ICO4QAO
https://developer.salesforce.com/forums/?id=906F00000008qFMIAY
Hope above information helps. Please mark as Best Answer so that it can help others in future.
Thanks.
Plz assign Flow access to a User with Supervisor profile from user setting. Check if it works for that user.
Regards,
Deepak
https://transmac.xyz/