• kmwienken
  • NEWBIE
  • 35 Points
  • Member since 2013

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies

This person was having basically the same issue I'm getting:

http://boards.developerforce.com/t5/General-Development/Error-running-flow-on-Site/m-p/470047#M76773

 

But uh... the 'solution' was that there wasn't actually a problem, so let me take a crack at it.

 

I would like to start by saying that I'm still pretty new to this stuff. I have created a flow that allows users to update custom fields on an Opportunity, defined by the varOpptyId variable I have populated with a test assignment step at the very beginning of the flow. This flow is embedded in a Visualforce page, and works perfectly for users logged into our org.

 

I then set up a Site.com site so that our customers can use the flow as unauthorized users. I set up the permissions so that the guest profile has access to both objects referenced in the flow (Account and Opportunity) and all fields on those objects that are referenced. The user can run the flow just fine up until the record update, at which point we receive this Unhandled process fault:

 

 

Encountered unhandled fault when running process New_Homeowner_Renewal_Flow/301d00000004WEq exception by user/organization: 00Dd0000000dMWk/{4}

 

UPSERT --- UPSERT FAILED ---  ERRORS :  (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be updated: Opportunity ---  for SFDC record with ID : null,

 

caused by element : Data update.Set_Renewal_in_Progress_0

 

caused by: UPSERT --- UPSERT FAILED ---  ERRORS :  (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be updated: Opportunity ---  for SFDC record with ID : null,

 

Salesforce Error ID: 1391988153-63159 (1899379434)

 

 


When I take this step out, the user can make it to the end of the flow where there is another record update, at which point the flow fails again but does not throw me any errors to post.

 

I have checked the debug logs and everything says 'success'. Here is the latest one:

 

28.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
18:35:21.029 (29772000)|EXECUTION_STARTED
18:35:21.029 (29820000)|CODE_UNIT_STARTED|[EXTERNAL]|066d0000001xb4h|VF: /apex/Marketplace_Homes_Homeowner_Renewal
18:35:21.177 (177601000)|VF_SERIALIZE_VIEWSTATE_BEGIN|066d0000001xb4h
18:35:21.180 (180135000)|VF_SERIALIZE_VIEWSTATE_END
18:35:22.071 (186742000)|CUMULATIVE_LIMIT_USAGE
18:35:22.071|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 2 out of 100
  Number of query rows: 2 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Number of code statements: 0 out of 200000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 10
  Number of Email Invocations: 0 out of 10
  Number of fields describes: 0 out of 100
  Number of record type describes: 0 out of 100
  Number of child relationships describes: 0 out of 100
  Number of picklist describes: 0 out of 100
  Number of future calls: 0 out of 10

18:35:22.071|CUMULATIVE_LIMIT_USAGE_END

18:35:21.186 (186791000)|CODE_UNIT_FINISHED|VF: /apex/Marketplace_Homes_Homeowner_Renewal
18:35:21.186 (186802000)|EXECUTION_FINISHED

 

This is super important to our business and I am having the worst time trying to figure it out. Any help would be much appreciated. Does anyone have any thoughts?

Thank you in advance!

This person was having basically the same issue I'm getting:

http://boards.developerforce.com/t5/General-Development/Error-running-flow-on-Site/m-p/470047#M76773

 

But uh... the 'solution' was that there wasn't actually a problem, so let me take a crack at it.

 

I would like to start by saying that I'm still pretty new to this stuff. I have created a flow that allows users to update custom fields on an Opportunity, defined by the varOpptyId variable I have populated with a test assignment step at the very beginning of the flow. This flow is embedded in a Visualforce page, and works perfectly for users logged into our org.

 

I then set up a Site.com site so that our customers can use the flow as unauthorized users. I set up the permissions so that the guest profile has access to both objects referenced in the flow (Account and Opportunity) and all fields on those objects that are referenced. The user can run the flow just fine up until the record update, at which point we receive this Unhandled process fault:

 

 

Encountered unhandled fault when running process New_Homeowner_Renewal_Flow/301d00000004WEq exception by user/organization: 00Dd0000000dMWk/{4}

 

UPSERT --- UPSERT FAILED ---  ERRORS :  (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be updated: Opportunity ---  for SFDC record with ID : null,

 

caused by element : Data update.Set_Renewal_in_Progress_0

 

caused by: UPSERT --- UPSERT FAILED ---  ERRORS :  (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be updated: Opportunity ---  for SFDC record with ID : null,

 

Salesforce Error ID: 1391988153-63159 (1899379434)

 

 


When I take this step out, the user can make it to the end of the flow where there is another record update, at which point the flow fails again but does not throw me any errors to post.

 

I have checked the debug logs and everything says 'success'. Here is the latest one:

 

28.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
18:35:21.029 (29772000)|EXECUTION_STARTED
18:35:21.029 (29820000)|CODE_UNIT_STARTED|[EXTERNAL]|066d0000001xb4h|VF: /apex/Marketplace_Homes_Homeowner_Renewal
18:35:21.177 (177601000)|VF_SERIALIZE_VIEWSTATE_BEGIN|066d0000001xb4h
18:35:21.180 (180135000)|VF_SERIALIZE_VIEWSTATE_END
18:35:22.071 (186742000)|CUMULATIVE_LIMIT_USAGE
18:35:22.071|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 2 out of 100
  Number of query rows: 2 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Number of code statements: 0 out of 200000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 10
  Number of Email Invocations: 0 out of 10
  Number of fields describes: 0 out of 100
  Number of record type describes: 0 out of 100
  Number of child relationships describes: 0 out of 100
  Number of picklist describes: 0 out of 100
  Number of future calls: 0 out of 10

18:35:22.071|CUMULATIVE_LIMIT_USAGE_END

18:35:21.186 (186791000)|CODE_UNIT_FINISHED|VF: /apex/Marketplace_Homes_Homeowner_Renewal
18:35:21.186 (186802000)|EXECUTION_FINISHED

 

This is super important to our business and I am having the worst time trying to figure it out. Any help would be much appreciated. Does anyone have any thoughts?

Thank you in advance!

Hi all,

 

I have deployed  my App included all objects and tabs from SandBox to production. But problem is I am not able to see the tabs under particular App.

I chekecd with the Create -> tabs option , all tabs are available there, But not visible in Accessioning app. Is ther anything wrong in deploymenyt, I cheked the result fo deployment also there is no error, Please help ASAp

 

Regards

Raman

 

Can we use a custom web address with the new Communities feature?  Here is how it is done with Force.com Sites.

 

http://www.salesforce.com/docs/developer/cookbook/Content/sites_using_custom_domain.htm

 

I was wondering if there was a similar feature for Communities since domain management is done in a similar way.  I can't enable this in a production org just yet to see for myself.

 

Thanks.