Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
HR Onboarding Workflow approvals are not marking the "Approval" field on the parent HRC record to "Rejected" when approvers reject - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • HR Onboarding Workflow approvals are not marking the "Approval" field on the parent HRC record to "Rejected" when approvers reject
KB0830995

HR Onboarding Workflow approvals are not marking the "Approval" field on the parent HRC record to "Rejected" when approvers reject


239 Views Last updated : Sep 21, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

The user had a HR Onboarding Workflow where approvals, upon rejection, were not marking the "Approval" field on the parent HRC record to "Rejected" as expected. They wanted to know why.

Resolution

The issue, in this case, is that the user had a custom approval script within their Approval - User workflow activity. 

The rejection should occur if the script entered a certain "if" condition, and through putting in many gs.info debugging statements, it was found that the if's condition was not satisfied. Hence, the code to mark the parent HRC record was never run and the "Approval" field was never set to "Rejected".

As the code was custom, and as Support Engineers are experts in OOB behavior, and specialize in resolving OOB break-fix behaviors, it was shared with the user that it is their responsibility to evaluate and fix the incorrect, custom code internally.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.