Business Events For Irecruitment

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

During the Creation and Update processes of Candidates, Applicants and Vacancies in iRecruitment Self Service application, the

business need is to capture these events and tied up the custom logic to these events in order to generate the custom notifications, raising a separate business process, raising alerts and as well executing a business event. Following are the some of the Business Needs examples and also can be accommodated for several other customer needs using workflow business events. - Generating a Workflow notification for Recruiters to review the vacancy and su bmit for Approvals. - Generating a Workflow notification for Agencies to review the vacancy and subm it Candidates to the Position. - Creating a candidate Login registration details when a candidate Referred or b een entered by the Recruiter. - Generating a Thank You Notification when a candidate applies for a Job and Login otification to the Candidate when a Candidate referred by a Employee or Candidate entered by a Recr uiter. - Generating On boarding Processes when an Applicant Status changes to On boardin g - Handling the Origination Source of the Candidates/Applicants from the differen t types of the entry into the system (e.g. referral entered, recruiter entered, website, campus, agencies and third party site) and classifying the Candidates with Candidate Type . - Updating the Vacancy and Candidate Search Columns for effective searches for R ecruiter needs - Classifying the Candidates and Vacancies up on their creation. - Updating the Candidate Statuses for Registration, Applying for a Job and making available for recruiters to Search candidates on a daily basis. Approach: >>Enabling the workflow events processes for the following Business events. - oracle.apps.per.api.assignment.update_apl_asg - oracle.apps.per.api.rec_activity_for.create_rec_activity_for - oracle.apps.per.api.vacancy.create_vacancy - oracle.apps.per.api.vacancy.update_vacancy - oracle.apps.per.irc.api.notification_prefs.create_notification_prefs - oracle.apps.per.irc.api.notification_prefs.update_notification_prefs - oracle.apps.per.irc.api.party.create_user - oracle.apps.per.irc.api.search_criteria.create_vacancy_criteria - oracle.apps.per.irc.api.search_criteria.create_work_choices - oracle.apps.per.irc.api.agency_vacancies.create_agency_vacancy - oracle.apps.per.api.recruitment_activity.update_recruitment_activity - oracle.apps.per.api.search_criteria.update_work_choices >>Creating a workflow database package to accommodate the business logic during the enabling of above business events. Event Creation and Subscription: Example A> Event Name : oracle.apps.per.api.assignment.update_apl_asg 1.a) Navigation: Workflow Administrator Web Applications > Business Events > Sea rch for oracle.apps.per.api.assignment.update_apl_asg > Click Go. >Update Status to Enabled

1.b) Click on Subscription

and Click on Create Subscription . Add the followings.

- System filed LOV should have only one value. Choose that. The value might not be as shown in screen shot below. - Change value of field Rule Data to Message . - Enter XXHRIRC in Workflow Item Type field. - Enter XXHR_IRC_ASSIGNMENT_STATUS in Workflow Process Name field. System : {select from the list} Source Type : Local Event Filter : oracle.apps.per.api.assignment.update_apl_asg Source Agent : Phase : 1 Status : Enabled Rule Data : Message Action Type: Custom On Error : Skip to Next Customization Level : User Rule Function : apps Workflow Type : XXHRIRC Workflow Process : XXHR_IRC_ASSIGNMENT_STATUS Out Agent : To Agent : Priority : Normal Parameters : Owner Name : apps Owner Tag : apps Click on Apply to save changes Sample Event Logic (pseudo code) Procedure xxhr_irc_be_util.get_appl_status BEGIN Select Person Details, Notification and Search Criteria Details Select Vacancy Details Select Applicant Details FOR EACH row returned Check the Status of the Applicant IF Status is Active Application THEN

Update the Applicant attribute Category = A Update Applicant Source Update Search Criteria Columns update irc_notification details with Candidate Status = 'Active' IF Applicant Record is a Current Employee Create Notification Record END IF

Send

Thank You

Notification THEN

IF Status is Applicant On boarding

Call the On boarding Procedure to populate Applicant Information to On boarding Site Send notifications to the On board notifications to Service Centers and Candidates END IF END IF ENDFOR Keep the Log Data into a Custom Log Table END Example B: Event Name : oracle.apps.per.irc.api.party.create_user MLHR iRecruitment Create User Business Event Event Creation 2.a) Navigation: Workflow Administrator Web Applications > Business Events > Sea rch for oracle.apps.per.irc.api.party.create_user > Click Go. > Update Status to Enabled

2.b) Click on Subscription and Click on Create Subscription . Add the followings. System filed LOV should have only one value. Choose that. The value might not be as shown in screen shot below. Change value of field Rule Data to Message . Enter XXHRIRC in Workflow Item Type field. Enter XXHR_IRC_CREATE_USER in Workflow Process Name field. System : {select from the list} Source Type : Local Event Filter : oracle.apps.per.irc.api.party.create_user Source Agent : Phase : 1 Status : Enabled Rule Data : Message Customization Level : User Rule Function : apps Workflow Type : XXHRIRC Workflow Process : XXHR_IRC_CREATE_USER Out Agent : To Agent : Priority : Normal Parameters : Owner Name : apps Owner Tag : apps

Click on

Apply

to save changes

Sample Event Logic (pseudo code) Procedure xxhr_irc_be_util.get_user_details BEGIN Select Person Details, Notification and Search Criteria Details Select FND User and Responsibility Details FOR EACH row returned update irc_search_criteria details with Candidate Type as Professional Lateral update irc_notification details with Search Allowed = Y and Candidate Status = 'Registered' ENDFOR Keep the Log Data into a Custom Log Table END Conclusion: XXHRIRC : Customer Workflow XXHR_IRC_CREATE_USER and XXHR_IRC_ASSIGNMENT_STATUS : Custom Workflow processes calls the business event and collects all the procedural variables and calls a custom procedure by settin g the variables.

You might also like