Skip to content

sysparm_fields are converted to lowercase but API is case-sensitive #281

@cmellazchy

Description

@cmellazchy

When using Get-ServiceNowRecord to fetch request item variables, the sysparm_fields values are converted to lowercase. However, ServiceNow field references appear to be case-sensitive.

Example:
In Postman:

✅ variables.common_ReqBy.email returns the data

❌ variables.common_reqby.email does not return the data

$Body.sysparm_fields = ($Property -join ',').ToLower()

Do we really need to force the fields to lowercase?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions