You need to sign in to do that
Don't have an account?
How to resolve this error?
Hi,
I am getting this error whenever i create an account. Fro QUICK account tab which has visual force makrup.
<apex:page > <flow:interview name="Quick_Account"></flow:interview> </apex:page>
An error occurred at element Create_Account (FlowRecordCreate).
INSERT --- INSERT FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) AccountDeletion: execution of BeforeInsert
This report lists the elements that the flow interview executed. The report is a beta feature.
We welcome your feedback on IdeaExchange.
Flow Details
Flow Name: Quick_Account
Type: Flow
Version: 1
Status: Inactive
Flow Interview Details
Interview Label: Quick Account 10/25/2016 9:04 PM
Current User: Hitesh Khatri (00528000002r0Fi)
Start time: 10/25/2016 9:02 PM
Duration: 71 seconds
How the Interview Started
Hitesh Khatri (00528000002r0Fi) started the flow interview.
SCREEN: New_Account
Textbox: Account_Name
Label: Account Name
Value at run time: Sumeet Purohit
Number: Phone_number
Label: Phone number
Value at run time: 9,414,958,276
Selected Navigation Button: NEXT
RECORD CREATE: Create_Account
Create one Account record where:
Name = {!Account_Name} (Sumeet Purohit)
Phone = {!Phone_number} (9,414,958,276)
Result
Failed to create record.
Error Occurred: INSERT --- INSERT FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) AccountDeletion: execution of BeforeInsert
Please check if you have any trigger for BeforeInsert on Account.This might be stopping you from creating an account.
Please refer below links for the similar error you may get some information.
https://success.salesforce.com/answers?id=90630000000grxJAAQ
http://blog.jeffdouglas.com/2009/04/20/writing-bulk-triggers-for-salesforce/
http://salesforce.stackexchange.com/questions/25047/test-class-for-a-trigger-failure-cannot-insert-update-activate-entity
Hope this helps you!
If this helps you please mark it as solved.
Thanks and Regards
Sandhya
Thank you so much.
Having removed BEFOREINSTERT trigger on Account, I could able to create Quick account.
Best Regards
Hitesh Khatri
If this solves your question, please mark it as solved choosing BestAnswer so that it will make available for others as a proper solution and this will be removed from the unanaswered queue.Hope you consider.
Thanks and Regards
Sandhya