function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sai manojsai manoj 

Process Automation Specialist-Step-5 Automate Opportunities Getting #Error

Continue From Recent Post
For Criteria-3 Conditions are
User-added image
For Criteria-3 i invoked approval process
User-added imagehere my approval process design
User-added image
here my 
Entry CriteriaOpportunity: AmountEQUALS 100000
Record EditabilityAdministrator ONLY
Allow Submitters to Recall Approval Requests : unchecked
Approval Assignment Email TemplateSALES: Opportunity Needs Approval
Initial SubmittersOpportunity Owner

Initial Submission Actions 
Initial  Record Lock--Lock the record from being edited
for this i taken filed update
Name--Awaiting Approval  
Unique Name--- Awaiting_Approval  

Object---Opportunity  
Field to UpdateOpportunity: Stage
Field Data TypePicklist
Re-evaluate Workflow Rules after Field Change--uncheck
New Field Value--Awaiting Approval

Approval Steps
Name -opportunity owner's manager  
Assigned Approver---Manager
Reject Behavior--Final Rejection

Final Approval Actions 
for this i have taken 2 filed updates and 1 email alert
Field Update one 
Name---Approved  
Unique Name---Approved  
Object---Opportunity  
Field to UpdateOpportunity: Stage
Field Data Type---Picklist
Re-evaluate Workflow Rules after Field Change---unchecked
New Field Value---Closed Won
Field Update Two
NameApproved check  
Unique Name---Approved_check  
Object---Opportunity  
Field to Update---Opportunity: Approved
Field Data Type---Checkbox
Re-evaluate Workflow Rules after Field Change--unchecked
New Field Value---True
Email Alert
Description--Opportunity Approved
Unique Name--Opportunity_Approved
Email Template---Sales: Opportunity Approval Status Email
-Object---Opportunity
From Email Address----Current User's email address  
Recipients---Opportunity Owner

Final Rejection Actions
one Field Update and one Email Alert
 Name---Nego  
Unique Name---Nego  
Object----Opportunity  
Field to UpdateOpportunity: Stage
Field Data Type---Picklist
Re-evaluate Workflow Rules after Field Change- uncheck
New Field Value---Negotiation/Review
Email Alert - 
DescriptionOpportunity Rejected
Email TemplateSales: Opportunity Approval Status Email
Unique Name--Opportunity_RejectedObjectOpportunity
From Email Address---Current User's email address  
Recipients---Opportunity Owner

For Criteria-4 conditions are
User-added image
For criteria-4 i invoked Email alert and Create Robot setup
User-added image

Please Help guys i doing This from 4 days 

Thanks & Regards
Sai Manoj
Meghna Vijay 7Meghna Vijay 7
Hi,
What is the error that you are getting?
 
sai manojsai manoj
Hi @Meghna Vijay 7
i Stuck at Process Automation Specialist-Step-5  Automate Opportunities
I Getting Error While Process Builder has Activated
Challenge Not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Opportunity PB” process failed. Give your Salesforce admin these details. An unhandled fault has occurred in this flow
An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 963069694-58213 (1684581515): []
Close errors

i getting Error while Process Builder has deactivated
Challenge Not yet complete... here's what's wrong: 
A new Opportunity with a 'Prospecting' stage for a 'Prospect' Account did not successfully create a Task for the Account owner with the Subject 'Send Marketing Materials'.
Close errors
Meghna Vijay 7Meghna Vijay 7
In your registered mail id of your dev org from which you login you may be getting a mail like Apex Execution Failed , scroll down to the very bottom and you'll see the error.
sai manojsai manoj
Hi @Meghna Vijay7 please refer this to see my post regarding error 
https://developer.salesforce.com/forums/ForumsMain?id=9062I000000Qw58QAC
Let me know
sai manojsai manoj
Finally I completed SuperBadge!!!!!!!!!!!!
ksarer Vanita Vanitaksarer Vanita Vanita
Hi Everyone, 
I am stuck with step 5 
keep on getting thsi error 
Challenge Not yet complete... here's what's wrong:
A new Opportunity with a 'Prospecting' stage for a 'Prospect' Account did not successfully create a Task for the Account owner with the Subject 'Send Marketing Materials
Action Name*
More InformationThis name appears in the canvas to help you distinguish this action from the other actions in the process.
Record Type*
Task
Set Field Values
Field*Type*Value*1 Field
Due Date Only1 Type
DateField ReferenceGlobal ConstantFormula1 Value
TODAY() + 7Build a formula...TODAY() + 7
2 Field
Assigned To ID2 Type
IDField ReferenceGlobal ConstantFormulaUser2 Value
[Opportunity].Account.OwnerId
Find a field...[Opportunity].Account.OwnerId
3 Field
Priority3 Type
PicklistField ReferenceGlobal ConstantFormula3 Value
Select OneHighNormalLow
4 Field
Status4 Type
PicklistField ReferenceGlobal ConstantFormula4 Value
Select OneNot StartedIn ProgressCompletedWaiting on someone elseDeferred
5 Field
Subject5 Type
StringField ReferenceGlobal ConstantFormula5 Value
6 Field
Related To ID6 Type
IDField ReferenceGlobal ConstantFormula6 Value
[Opportunity].Id
Find a field...[Opportunity].Id
 
Bhawna MehrotraBhawna Mehrotra
@Sai Manoj please help .. i am getting the same error again........

There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Opportunity Approval” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: FIELD_INTEGRITY_EXCEPTION: Assigned To ID: id value of incorrect type: 0012w000002saNlAAI. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 1450013916-139492 (-1779685733): []
Close errors
Sridevi PonnuchamySridevi Ponnuchamy
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Opportunity Process” process failed. Give your Salesforce admin these details. This error occurred when the flow tried to create records: FIELD_INTEGRITY_EXCEPTION: Assigned To ID: id value of incorrect type: 0016g00000AONPAAA5. You can look up ExceptionCode values in the SOAP API Developer Guide. Error ID: 26849049-3617 (-1779685733): []

@sai manoj, same error.. could u please help..
Pallavi D 22Pallavi D 22
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Opportunity Process Buliding” process failed. Give your Salesforce admin these details. This approval request requires the next approver to be determined by the Manager field. This value is empty. Please contact your administrator for more information. Error ID: 1184655518-93377 (1571110496): []

can anyone help me with this error plzz

 
Pratiksha InamkePratiksha Inamke
Hi Pallavi
     Im not sure if you found the solution or not .I was also facing same issue.You can solve it by following these steps
1)Go to user
2)Edit
3)find manager field and choose Nushi 
4) And Save
JeevanKumarJeevanKumar
Hey Can soem one help with this.. I got stuck at this stage for the past few hours
"
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Opportunities Automation” process failed. Give your Salesforce admin these details. No applicable approval process was found. Error ID: 1759611139-97402 (1571110496): []

------------------------------------------
and my Email ERROR Details
-------------------------------------------


Error element myRule_6_A1 (FlowActionCall).
No applicable approval process was found.

Flow Details
Flow API Name: Opportunities_Automation
Type: Record Change Process
Version: 4
Status: Active
Org: Canada Drives (00D5w000000XRp7)

Flow Interview Details
Interview Label: Opportunities_Automation-4_InterviewLabel
Current User: Jeevan Kumar (0055w00000Ah6SN)
Start time: 6/23/2020, 4:05 AM
Duration: 0 seconds

How the Interview Started
Jeevan Kumar (0055w00000Ah6SN) started the flow interview.
Some of this flow's variables were set when the interview started.
myVariable_old = null
myVariable_current = Opportunity (0065w000023qIyqAAE)

DECISION: myDecision
Skipped this outcome because its conditions weren't met: myRule_1
Outcome conditions:
1. {!myVariable_current.Account.Type} (Customer - Channel) Equals Customer - Direct
2. {!myVariable_current.AccountId} (0015w00002Dxw7cAAB) Does not equal null
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: myDecision2
Skipped this outcome because its conditions weren't met: myRule_3
Outcome conditions:
1. {!myVariable_current.Account.Type} (Customer - Channel) Equals Prospect
2. {!myVariable_current.AccountId} (0015w00002Dxw7cAAB) Does not equal null
3. {!myVariable_current.StageName} (Negotiation/Review) Equals Prospecting
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: myDecision5
Outcome executed: myRule_6
Outcome conditions:
1. {!myVariable_current.StageName} (Negotiation/Review) Equals Negotiation/Review
2. {!myVariable_current.Amount} (101,000) Greater than 100,000
Logic: All conditions must be true (AND)

SUBMIT FOR APPROVAL: myRule_6_A1
Inputs:
objectId = {!myVariable_current.Id} (0065w000023qIyqAAE)
comment = null
processDefinitionNameOrId = Opportunity_Prospecting
skipEntryCriteria = false

Error Occurred: No applicable approval process was found.
 
Ashutosh Mishra 147Ashutosh Mishra 147
I'm getting this error in Automate Opportunities (step 6), please help me. while creating the oppo manually it creates an approval process but not through the Salesforce challenge page.

Below is the error :
Challenge Not yet complete... here's what's wrong:
An Opportunity with the Stage 'Negotiation/Review' and the Amount greater than $100,000 was not successfully submitted for approval upon creation.
Aditya HawaleAditya Hawale
@ksarer_Vanita_Vanita i am also getting that error if u have solved it plz help
Priya RamtekePriya Ramteke
@sai Manoj @Meghana Vijay 7 I have same error plz help


Error element myRule_6_A1 (FlowActionCall).
No applicable approval process was found.

Flow Details
Flow API Name: Automate_Opportunities
Type: Record Change Process
Version: 24
Status: Active
Org: Ceptra Infotech (00D5j000009lR6S)

Flow Interview Details
Interview Label: Automate_Opportunities-24_InterviewLabel
Interview GUID: 20303d8fcee618c8a08a5eb9eb9f17fafdf853-2cdb
Current User: Priya Ramteke (0055j0000053oM5)
Start time: 3/21/2022, 10:25 PM
Duration: 0 seconds

How the Interview Started
Priya Ramteke (0055j0000053oM5) started the flow interview.
API Version for Running the Flow: 54
Some of this flow's variables were set when the interview started.
myVariable_old = null
myVariable_current = Opportunity (0065j00000TwfefAAB)

DECISION: myDecision
Outcome executed: myRule_1
Outcome conditions:
1. {!myVariable_current.Account.Type} (Customer - Channel) Equals Customer - Direct
2. {!myVariable_current.Account.Type} (Customer - Channel) Equals Customer - Channel
3. {!myVariable_current.AccountId} (0015j00000akQpbAAE) Does not equal null
Logic: Advanced Logic ((1 OR 2) AND 3)

OPPORTUNITY.EMAIL_ALERTS_ON_OPPORTUNITY (EMAIL ALERTS): Email Alerts
Inputs:
SObjectRowId = {!myVariable_current.Id} (0065j00000TwfefAAB)
Outputs:
None.

DECISION: myDecision2
Skipped this outcome because its conditions weren't met: myRule_3
Outcome conditions:
1. {!myVariable_current.Account.Type} (Customer - Channel) Equals Prospect
2. {!myVariable_current.AccountId} (0015j00000akQpbAAE) Does not equal null
3. {!myVariable_current.StageName} (Negotiation/Review) Equals Prospecting
Logic: All conditions must be true (AND)

Default outcome executed.

DECISION: myDecision5
Outcome executed: myRule_6
Outcome conditions:
1. {!myVariable_current.StageName} (Negotiation/Review) Equals Negotiation/Review
2. {!myVariable_current.Amount} (101,000) Greater than 100,000
Logic: All conditions must be true (AND)

SUBMIT FOR APPROVAL: Approval
Inputs:
objectId = {!myVariable_current.Id} (0065j00000TwfefAAB)
comment = null
processDefinitionNameOrId = Prospecting
skipEntryCriteria = false

Error Occurred: No applicable approval process was found.


Salesforce Error ID: 1822126463-572713 (239473768)
Waqas SyedWaqas Syed
I'm stuck on the Automate Opportunities step. The error I'm getting is "An Opportunity with the Stage "Negotiation/Review' and the Amount greater than $100,000 was not successfully submitted for approval upon Creation." Can somebody help me, please?
Jo DuneJo Dune
Hello Everyone, I am also getting a similar error that I have been unable to solve.


Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Automation Process” process failed. Give your Salesforce admin these details. No applicable approval process was found. Error ID: 733736112-53847 (28196428)No applicable approval process was found. Error ID: 733736112-53847 (28196428): []
Close errors

Any help would be appreciated!
Jo DuneJo Dune
Update, I passed this challenge. I de-activated my approval process and re-activated it. And that was enough apparently!