Skip to main content

Capture stage candidate has withdrawn from

  • May 29, 2024
  • 0 replies
  • 19 views

mkunaseelan
Forum|alt.badge.img+14

In Parliament, we want an email that would be sent to recruiters and a selection panel when an application had been withdrawn e.g. from shortlisting, interviews, offer stage or even during onboarding.

I was initially told it’s not something that is recorded in the system. I decided to have a look around and discovered ‘Recruiter Flags’ on the Candidate Flags form that each application has.

I created a new ‘Withdrawal Stage’ app item set as per below. In essence, It checks what the current status is and sets the flag appropriately that I had setup to match as a list of values in a lookup list. Hopefully the human translation part I copied will make more sense.

In application withdrawn email, we called the flag into the email to confirm what stage the candidate was at before withdrawing. This helped us to understand if we need to take any further action.

It’s laid out to set nested ifs - either this or that and carries on with a boolean style decision tree.

For the state.ids, you can obtain these from Status Values where the ID will be on the left hand-side for application statuses. Yours might be longer than this depending on how many statuses you have. Not sure if you can actually group statuses together in groups (probably can due to the rules) so you might want to simplify all interview statuses into one group that sets one single application item value called ‘Interviews’ for example).

<DTREE>
  <IF><EVAL>application.main_process_state.state.id == 127 </EVAL></IF>
  <THEN>13164</THEN>
  <ELSE>
    <IF><EVAL>application.main_process_state.state.id == 129 </EVAL></IF>
    <THEN>13171</THEN>
    <ELSE>
      <IF><EVAL>application.main_process_state.state.id == 131 </EVAL></IF>
      <THEN>13167</THEN>
      <ELSE>
        <IF><EVAL>application.main_process_state.state.id == 132 </EVAL></IF>
        <THEN>13168</THEN>
        <ELSE>
          <IF><EVAL>application.main_process_state.state.id == 139 </EVAL></IF>
          <THEN>13166</THEN>
          <ELSE>
            <IF><EVAL>application.main_process_state.state.id == 300 </EVAL></IF>
            <THEN>13169</THEN>
            <ELSE>
              <IF><EVAL>application.main_process_state.state.id == 231 </EVAL></IF>
              <THEN>13170</THEN>
              <ELSE>13172</ELSE>
            </ELSE>
          </ELSE>
        </ELSE>
      </ELSE>
    </ELSE>
  </ELSE>
</DTREE>

IF candidate is withdrawing from Shortlisting (127), set flag to Shortlisting (13164)

ELSE IF candidate is withdrawing from Shortlisting Complete (129), set flag to Shortlisting Complete (13171)

ELSE IF candidate is withdrawing from Interview 1 - Invited (131), set flag to Interview - Invited (13167)

ELSE IF candidate is withdrawing from  Interview 1 - Scheduled (132), set flag to Interview - Scheduled (13168)

ELSE IF candidate is withdrawing from Conditional Offer (139), set flag to Conditional Offer (13166)

ELSE IF candidate is withdrawing from Onboarding (300), set flag to Onboarding (13169)

ELSE if candidate is withdrawing from Formal Offer (231), set flag to Formal Offer (13170)

ELSE set flag to "Stage Unknown"