Salesforce 流程错误:INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY
Error in Salesforce flow: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY
调试期间检测到错误:
Create one OpportunityLineItem record where
OpportunityId = {!$Record.ConvertedOpportunityId} (null)
Product2Id = {!get_related_Product.Id} (01t5j000000I80nAAC)
Quantity = {!DefaulQuantityOfProduct} (1)
TotalPrice = {!TotalPriceDefaultForNewOpp} (7.54)
Result
Info
Failed to create record.
Info
Error Occurred:
This error occurred when the flow tried to create records: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id. You can look up ExceptionCode values in the SOAP API Developer Guide.
手动或使用 Apex,我可以添加一条记录。我添加的字段 (opportunityid,Quantity,TotalPrice,Product2id) 不是只读的。我需要一个详细的答案。我是否缺少某些权限?
1 flow schema
2 trigger condition
3 get related record
4 create new record
OpportunityId = {!$Record.ConvertedOpportunityId} (null)
这个机会似乎还不存在(有任何错误吗?您是总是创建它们还是仅在满足特定条件时创建它们?是否失败了?)。或者它存在但只是被插入,SF 还没有设法用 Id 更新 Lead?也许添加检查字段是否已填充的输入条件。
潜在客户转换是个有点讨厌的话题,请参阅 https://salesforce.stackexchange.com/questions/3956/lead-conversion-trigger-order-of-execution
实际上,您可能更适合 SF stackexchange,那里的管理员更多,流程是无代码解决方案,因此不适合 Whosebug?
调试期间检测到错误:
Create one OpportunityLineItem record where
OpportunityId = {!$Record.ConvertedOpportunityId} (null)
Product2Id = {!get_related_Product.Id} (01t5j000000I80nAAC)
Quantity = {!DefaulQuantityOfProduct} (1)
TotalPrice = {!TotalPriceDefaultForNewOpp} (7.54)
Result
Info
Failed to create record.
Info
Error Occurred:
This error occurred when the flow tried to create records: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on cross-reference id. You can look up ExceptionCode values in the SOAP API Developer Guide.
手动或使用 Apex,我可以添加一条记录。我添加的字段 (opportunityid,Quantity,TotalPrice,Product2id) 不是只读的。我需要一个详细的答案。我是否缺少某些权限?
1 flow schema
2 trigger condition
3 get related record
4 create new record
OpportunityId = {!$Record.ConvertedOpportunityId} (null)
这个机会似乎还不存在(有任何错误吗?您是总是创建它们还是仅在满足特定条件时创建它们?是否失败了?)。或者它存在但只是被插入,SF 还没有设法用 Id 更新 Lead?也许添加检查字段是否已填充的输入条件。
潜在客户转换是个有点讨厌的话题,请参阅 https://salesforce.stackexchange.com/questions/3956/lead-conversion-trigger-order-of-execution
实际上,您可能更适合 SF stackexchange,那里的管理员更多,流程是无代码解决方案,因此不适合 Whosebug?