I need to create utility program in the CRM System to update Employees in the system and Remove the Business Role of "Groupware Employee" when an Employee Leaves the Organization or is no longer in a Role where they use Sales CRM.
But i am not aware of what are the different steps i should follow to create this utility.
my specific queries are as below:
1) How to find programatically (using the program) whether the Groupware Role has been assigned to an employee or not?
2) If the Groupware Role has been assigned to an Employee then how to find programatically (using the program) whether Employee left the organization
3) Finally how to delete the Groupware Role programatically (using the program) of an employee when the employee left an organization.
Please friends help me out on this.