For more information, please refer to this announcement explaining best practices for getting answers to questions.
Cancel job requestion having more that 50 active job applications (IRC-159058 and IRC-1590078)
Summary:
Hi Everyone,
I'm working on request to cancel job requestion having more that 50 active job applications and I got error when I tried to cancel it manually from hiring area and also via HDL.
METADATA|JobRequisition|RequisitionNumber|CurrentPhaseCode|CurrentStateCode|ApplyWhenNotPostedFlag
MERGE|JobRequisition|539|REQUISITION_OPEN|REQUISITION_CANCELLED|N
error:- You can't close this job requisition because it contains more than 50 active job applications. Process the job applications and try again. (IRC-1590589).
So I started removing candidate via HDL
METADATA|CandidateJobApplication|SubmissionId|CurrentPhaseCode|SubmissionLanguageCode|CurrentStateCode|InactivateFlag
MERGE|CandidateJobApplication|300000188121211|300000080637519|US|REJECTED_EMPLOYER|Y
and got error :- The job application for candidate wasn't deleted. Only inactive or unconfirmed job applications can be deleted. (IRC-1590078).