You need to sign in to do that
Don't have an account?
Phillip Mcelu 10
trigger or workflow to update a checkbox
Hello,
I'm looking for a apex trigger or workflow that will update a checkbox, if certain condition are met. In my example (screenshot) if High Cedit Sub is greater than two. I want the two subjects with the minimum score and high credit to be checked. Or if that can't work the two subjects with the minimum score to add 20 on them. You are help will very must appreciated, Many Thanks
I'm looking for a apex trigger or workflow that will update a checkbox, if certain condition are met. In my example (screenshot) if High Cedit Sub is greater than two. I want the two subjects with the minimum score and high credit to be checked. Or if that can't work the two subjects with the minimum score to add 20 on them. You are help will very must appreciated, Many Thanks
Veenesh
All Answers
In this case, you will need to write an apex trigger. In order to help yo out with the trigger, We will need the API Names of the Custom Objects and the related fields involved.
Veenesh
Regards
Veenesh
"Didn't understand relationship 'Subjects__c' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names."
This is super complex for me. Many Thanks for the help.
Try replacing 'Subjects__c' with 'Subjects__r'.
Veenesh
Veenesh