APP_AssignOwnership_TDTM
Application trigger handler/TDTM to assign ownership
Custom Permission | REDU - Admin, REDU - Faculty, REDU - Student |
Event | BeforeInsert |
Object |
Application |
Related RIO Education Settings | None |
Description
When a new Application is inserted, if its Owner is non-sharing user type (Guest or CspLitePortal), this class will transfer ownership to the user associated with the Applicant's Contact record, provided that user is not a non-sharing user type.
Use case
Consider a scenario where a guest user is accessing the Student Portal/Community, and creates an Application.
A guest user is temporary and is not stored in the instance user list, which means that the Application 'Owner' field will be empty once the Application is completed.
Since the Application needs to be linked with an owner, this trigger will associate the Contact record in the Application as the owner.