sys_choice_environment
sys_choice_environment
is a convenience configuration that will return all environments defined on your ServiceNow
instance.
Try it: https://demo.squid46.io/sys_choice_environment
This configuration is not language restricted.
See sys_choice
for details on how sys_choice
works.
Example Data
{
...,
"data": [
{
"element": "environment",
"label": "Development",
"language": "en",
"name": "cmdb_ci",
"sys_id": "285b123f3b120210231c057f16e45a9b",
"value": "Development"
},
{
"element": "environment",
"label": "Test",
"language": "en",
"name": "cmdb_ci",
"sys_id": "685b123f3b120210231c057f16e45a9b",
"value": "Test"
},
{
"element": "environment",
"label": "Production",
"language": "en",
"name": "cmdb_ci",
"sys_id": "a85b123f3b120210231c057f16e45a9b",
"value": "Production"
}
],
...
}