You need to sign in to do that
Don't have an account?
SUMANTH ELLURU
trigger to update an hiring manager to a gereric contact
A mechanism which will update Hiring manager to a default Hiring manager (a generic contact) in case a position is created without any hiring manager
There are many solutions for this one, I will suggest one with custom setting.
Solution 1
Create Hirecly hierarchy.
Create Text field to store default Hiring Manger Id.
trigger on before insert,before update event on your custom object to check Hiring Manager populated or not if not then fetch custom setting value and populate it.
Solution 2
Create Process Builder/Workflow.
In ceritiera check Hiring Manager field value is empty then do field update.
Please let me know if you need any further assistance and mark this as best answer.
All Answers
There are many solutions for this one, I will suggest one with custom setting.
Solution 1
Create Hirecly hierarchy.
Create Text field to store default Hiring Manger Id.
trigger on before insert,before update event on your custom object to check Hiring Manager populated or not if not then fetch custom setting value and populate it.
Solution 2
Create Process Builder/Workflow.
In ceritiera check Hiring Manager field value is empty then do field update.
Please let me know if you need any further assistance and mark this as best answer.
can you help me with trigger code.
i am new to triggers.
I will help you.
Please Skype me on Skype ID : nawaleprakash