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?