1. Configure the ‘Find Person by Phone’ Step
- In the Find Person by Phone step, go to the Configure stage.
- In the “If no search results are found” section, set it to Mark “successful”.
2. Add a Path Step
- After the Find Person by Phone step, add a Path step.
3. Set Conditions for the First Path
- In the first path’s conditions set the rule to Only continue if “ID” is “Exists”.
- Under this path, add a step to update your ATS with the candidate’s information.
4. Configure the Second Path (Fallback Rule)
- In the second path, set the rule type to Fallback.
5. Add a Code Step in the Fallback Path
- Under the fallback path, add a Code step.
- For the Action Event, select Run JavaScript.
6. Configure the Code Step
- In the Configure section of the Code step:
-
Set the input data field to include the candidate’s phone number (e.g.,
candidate number
). - Enter the following JavaScript code: