Open miyuk opened 6 months ago
hello @miyuk
Is the column Environment
custom?
hi, @tuppy
Yes, Environment
column is customed one of cmdb_ci_server
table
Can you give me a hint on how can I create it?
@tupyy
cmdb_ci_server
tableConfigure > Form Builder
Add a field in the table
on left tab@miyuk I'm ok to add the variable but I'll keep the same name as in SNow: sysparm_display_value
.
@mhjacks @Akasurde some context:
Currently, the inventory plugin embeds this variable sysparm_display_value
and sets it to true
. It can be overwritten with sysparm_query.sysparm_display_value
but it feels like a hack.
What I propose is to move it into the plugin variables like sysparm_limit
. WDYT?
SUMMARY
When inventory plugin query choice field, it return value as human readable label. However, label value is not useful for ansible inventory.
I want to add options for select value format.
I already make sure resolve it when snow_query.sysparm_display_value sets to
False
.So, I want to add option
return_display_value
, and add parameter tofetch_records
functionHowever, I coudn't investigate other column fields.
ISSUE TYPE
COMPONENT NAME
servicenow.itsm.now
ADDITIONAL INFORMATION
below image is configured in ServiceNow column choice field.
If
return_display_value
is true, return label, else return value.