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.
SAP CI Application pattern failed to retrieve the Version due to unexpected value of $system_directory - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • SAP CI Application pattern failed to retrieve the Version due to unexpected value of $system_directory
KB0832748

SAP CI Application pattern failed to retrieve the Version due to unexpected value of $system_directory


569 Views Last updated : Apr 8, 2025 public Copy Permalink
KB Summary by Now Assist

Description

SAP CI Application pattern failed with the following error:
"In payload missing minimum set of input values for criterion (matching) attributes from identify rule for table [cmdb_ci_sap_sid]. Add these input values in payload item '{"className":"cmdb_ci_sap_sid","values":{"discovery_source":"ServiceNow","name":"XXX","sys_class_name":"cmdb_ci_sap_sid"}}'......"

This is because the logic on [Identification section - identification for sap ci - step 2. set variables] not able to get the proper value of $system_directory.
The regular expression in this step is designed only to handle pattern where parameter "pf=" obtained from $process.commandLine is at a certain position.

Steps to Reproduce

  1. Run discovery on host machine that contain SAP CI Applications.
  2. Observe the error message below is thrown:
    "In payload missing minimum set of input values for criterion (matching) attributes from identify rule for table [cmdb_ci_sap_sid]. Add these input values in payload item '{"className":"cmdb_ci_sap_sid","values":{"discovery_source":"ServiceNow","name":"XXX","sys_class_name":"cmdb_ci_sap_sid"}}'...."
  3. Observe that all "Set Version" logic in the pattern log are failing with error message: "Failed to retrieve remote data: Execution of command export PATH=$PATH:....... failed with status 1"

Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available..

If you can not wait for the future release, you can apply update set attached to this KB article (sys_remote_update_set_ba5120361b825854a35c3197cc4bcb21.xml)


Related Problem: PRB1415708

Potentially Seen In

There is no data to report.

Fixed In

Quebec

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?

Attachments

Attachments

  • sys_remote_update_set_ba5120361b825854a35c3197cc4bcb21.xml

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.