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
ElektronElektron 

error on a challenge in creating "approval records in chatter"

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: Process failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, missing required field: [nextApproverIds]: [nextApproverIds]


anyone know what this is about?
Amit Chaudhary 8Amit Chaudhary 8
Please check below post
1) https://developer.salesforce.com/forums/?id=906F0000000BNrpIAG
2) https://developer.salesforce.com/forums/?id=906F0000000B31rIAC

You need to select approver in approval steps as shown in below screenshots
User-added image

User-added image

Let us know if this will help you

Thanks
Amit Chaudhary
ElektronElektron
thanks!  but it doesnt make sense.  in the instructions to that challenge it did not address that particular procedure at all!!
so how could one know to look there or what to adjust??
Amit Chaudhary 8Amit Chaudhary 8
I hope you are doing below UNIT.
1) https://developer.salesforce.com/trailhead/en/chatter/chatter_approvals

As per task itself we need to do below :-

1) Verify Chatter Approvals is enabled and the Case standard object has Chatter feed tracking turned on.
2) The approval process must be created on the Case object and be named 'Case Escalation'. No entry criteria is required for this approval process and you can set yourself as the approver.
3) Upon entering the approval process, approval request notification needs to be posted to the Chatter feed.

So As per below task we need to add task Approver in STEP 3 (Select Assigned Approver) of Approval process.

User-added image

As is mention in Task Example also.

Please let us know if this will help you

Thanks
Amit Chaudhary