SAP Knowledge Base Article - Public

3043476 - BeforeSave Event will be Triggered Twice While Creating the Lead.

Symptom

When a lead is created, the BeforeSave event will be triggered twice.

Environment

  • SAP Cloud for Customer
  • SAP Cloud Applications Studio

Resolution

This the standard system behavior. The BeforeSave in a Lead always gets executed twice is necessary to trigger lead routing rule during save of a newly created lead. Currently, there is not any specific way to avoid this implementation.

Keywords

KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , How To

Product

SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions