Configure Condition Nodes to Check for Decline Reason

Dayforce Implementation Guide

Version
R2025.1.1
Configure Condition Nodes to Check for Decline Reason

For the condition node to check for a particular decline reason, you must add a statement to the Expression field in the node properties. The reference code of the decline reason is in quotations at the end of the statement. For example, if you want the node to check when candidates are declined for the reason “Underqualified License Certification”, you can copy and paste the following text into the Expression field:

<<CandidateCommunicationData.DeclineReasonXrefCode>> EQUALS "Underqualified_License_Certification"

You can obtain reference codes for decline reasons from the Reference Code column in Recruiting Setup > Decline and Offer Rejection Reason.

Important: The reference code entered in the Expression field must match the code in the Decline and Offer Rejection Reason feature exactly. If, at any point, the reference code is changed in the Decline and Offer Rejection Reason feature, the workflow will not work.

To add an expression to check the decline reason:

  1. Go to Workflow Administration > Workflow Designer.
  2. Select the workflow that you want to edit.
  3. Click the Diagram tab.
  4. Select the condition node to open the Node Properties panel.
  5. In the Expression field, click Create Expression. The Create Expression dialog box opens.
  6. Expand the CandidateCommunicationData section in the side panel, and then click the DeclineReasonXrefCode token to insert it in the text editor.
  7. Place the cursor at the end of the token in the text editor, and then do the following:
    1. Enter a space.
    2. Enter EQUALS
    3. Enter a space.
    4. Enter the reference code of the decline reason in quotation marks.
  8. Notes:
    • You must include a space before and after EQUALS. If you fail to do so, the workflow will end in error.
    • You must ensure that the quotation marks surrounding the candidate status are straight quotes rather than curly quotes (or, smart quotes). Curly quotes can result from when you type the expression in programs like Microsoft Word and then copy and paste it to the Expression field. Including curly quotes will cause the workflow to end in error.
    • Incorrect: <<CandidateCommunicationData.DeclineReasonXrefCode>> EQUALS “Underqualified_License_Certification”
    • Correct: <<CandidateCommunicationData.DeclineReasonXrefCode>> EQUALS "Underqualified_License_Certification"
  9. Click X to close the dialog box.
  10. Click Save.