-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inventory plugin option: return_display_value #317
Comments
hello @miyuk |
hi, @tuppy |
Can you give me a hint on how can I create it? |
|
@miyuk I'm ok to add the variable but I'll keep the same name as in SNow: @mhjacks @Akasurde some context: |
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.The text was updated successfully, but these errors were encountered: