Module for execution of ServiceNow CI (configuration items)
New in version 2016.11.0.
depends: |
servicenow_rest python module |
---|---|
configuration: |
Configure this module by specifying the name of a configuration profile in the minion config, minion pillar, or master config. The module will use the 'servicenow' key by default, if defined. For example: servicenow:
instance_name: ''
username: ''
password: ''
|
Delete an existing record
Parameters: |
|
---|
CLI Example:
salt myminion servicenow.delete_record sys_computer 2134566
Run a non-structed (not a dict) query on a servicenow table. See http://wiki.servicenow.com/index.php?title=Encoded_Query_Strings#gsc.tab=0 for help on constructing a non-structured query string.
Parameters: |
|
---|
CLI Example:
salt myminion servicenow.non_structured_query sys_computer 'role=web' salt myminion servicenow.non_structured_query sys_computer role=web type=computer
Set the approval state of a change request/record
Parameters: |
|
---|
CLI Example:
salt myminion servicenow.set_change_request_state CHG000123 declined salt myminion servicenow.set_change_request_state CHG000123 approved
Update the value of a record's field in a servicenow table
Parameters: |
|
---|
CLI Example:
salt myminion servicenow.update_record_field sys_user 2348234 first_name jimmy
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.servicenow.html