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
Mohsin Wadee 17Mohsin Wadee 17 

Process Automation Specialist Superbadge step 5

Good day everyone, this is my second attempt at Step 5 and everything works until I call the Approval process in Process Builder.

The Approval process works too, but I can't get Process Builder to action the Robot Setup record creation - I've tried it as an invocable process and a normal record creation within Process Builder.

Thing is this worked until I called the Approval Process within PB. Any ideas?
Best Answer chosen by Mohsin Wadee 17
Mohsin Wadee 17Mohsin Wadee 17
Hi @Musunru, the problem was actually just having to check the 'Re-evaluate Workflow Rules after Field Change' option in the Approval Process for the Stage field update to Closed/Won.
User-added image

All Answers

Musunuru SurekhaMusunuru Surekha
Hello @Mohsin,

I completed this superbadge while ago and I don't remember what exactly caused the issue. Please find the screenshots of my process builder and approval process.

User-added image
User-added image

User-added imageUser-added imageUser-added image
Mohsin Wadee 17Mohsin Wadee 17
Hi @Musunru, the problem was actually just having to check the 'Re-evaluate Workflow Rules after Field Change' option in the Approval Process for the Stage field update to Closed/Won.
User-added image
This was selected as the best answer
Farhan Ali 30Farhan Ali 30
Hi,
I am not sure if I should send notifications to "Finance Team" if the account type is "Customer - Channel". In the video, she just says "Customer" account. But does not clarify if it is "Customer - Channel" or "Customer- Direct". What did you guys do?
Thanks,
MPB SalesforceMPB Salesforce
Hi all if you have any query in this challenge 2 so please watch this video at least once i hope you will get your solution
https://www.youtube.com/watch?v=4M0Qezqiyz4&list=PLQf_Kv-dMRBIcwQjKiu__-v1ceZxDEpiW
and
https://www.youtube.com/watch?v=MTWGmhdgYnA&list=PLQf_Kv-dMRBJNdXFH44hPImsHY47yaG12&index=2

 
Venkat R 18Venkat R 18
Hi Farhan/All,
Apart from the basics, I found only the items to be tricky, so pls take extra caution on these:
Assign Task to Account Owner - This should be the parent Account's OwnerID value
Assign Task as child of Account (not Opportunity) - assign AccountID instead of OpportunityID
Approval process - 
Initial Submission section - Update Stage to "Awaiting Approval" (this is tricky and not explicitly mentioned anywhere - pls remember the opportunity has to cross through all stages of the lifecycle)
Approval Step - Update field to "Closed Won"
Rejection Step - Update field to "Negotiation/Review"
Final Approval Step - You should turn on the Approval__c flag also (Remember you have a validation rule created in previous challenge step that will not allow to save Closed Won opportunities without this flag on)

Happy superbadging and have fun!
Regards,
Venkat.
Drew DePriestDrew DePriest
For anyone else struggling with this one, learn from my simple mistake - don't forget that you have to set your approval process to ACTIVE.

I spent an hour completely confused as to why my flow kept throwing the error, "Error Occurred: No applicable approval process was found." It was because I never activated the approval process. Oh my, such a simple mistake. :)