• Ian Wright 3
  • NEWBIE
  • 10 Points
  • Member since 2017

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

I'm running into an issue where I have a custom object called Agent_Project__c.  What I'm hoping to do with this is allow various leadership groups and management users to create their own projects and assign however many users to the project.  I can't do set groups because I want the user to have the flexibility to add and remove users from the project whenever they need and there to be a related list to show all users assigned to the project.  The rest of the functions I can make but this one part I'm stuck with. 

Any ideas or help?  Anyone out there that has done something similar?
Hi,

I'm new to Apex and am looking to create an auto-generated approval note on the case attached to the custom object Event_Resolution__c.  Below is what I have and I keep getting line 5, loop variable must be of Type Question.  I assume it means it thinks Case is not defined or related to the event resolution.  The case is entered in a lookup field case__c but it says that variable doesn't exist.  

Any help on how to make this possible?  Basically if anyone on the event resolutions team approves a credit or point value, I want a case comment to automatically populate on the case.
User-added image