• Shilpa Tailor 7
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi All,

I am doing this topic from trailhead - https://trailhead.salesforce.com/en/modules/business_process_automation/units/approvals. Up to the flow it's fine, but it gives me an error message when I triggered the approval process from process (designed in Process builder as per the trail). 
When I was triggering the 'Approve Opportunity Discount' approval process from process builder, it was giving me this error - "Error Occured: missing required field: [nextApproverIds]". 

In the trail the approvers were set for manual selection within the approval process. I changed this to auto-select and entered the approvers. It started working after that.
This error doesn't come if I trigger the approval process from the 'Submit for Approval' button when updating the opportunity record. This is without triggering approval process from the process builder. 

I have identified the problem (only difference was mapping approvers manually vs. automatic), but not sure why it's not working. In certain scenarios, selecting manually might be a more preferred option.

Appreciate any help I can get. Thank you!
  • June 19, 2018
  • Like
  • 0
I receive this error when I check my challenge.

User-added image
Challenge not yet complete... here's what's wrong: 
An account with a related opportunity did not calculate the correct potential value.

The task was to Create a rollup summary field that determines the potential value of the opportunities associated with an account.
Add a custom field to the standard account object that provides a rollup summary of the total expected revenue from all related opportunities.The rollup summary field should be labeled 'Potential Value' and have the Field Name of 'Potential_Value'. The resulting API name should be 'Potential_Value__c'.
The rollup summary should calculate the total expected revenue of all the opportunities related to the account.

Here is a snap shot of my work. Any suggestions as to why this is failing?

User-added image

Thanks,
Darren