Skip to content
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

Docs on https://docs.ansible.com/ansible/6/collections/servicenow/servicenow/snow_record_module.html need updating #79

Open
ffirg opened this issue Mar 14, 2024 · 1 comment

Comments

@ffirg
Copy link

ffirg commented Mar 14, 2024

The example data payload under https://docs.ansible.com/ansible/6/collections/servicenow/servicenow/snow_record_module.html#examples refers to

- name: Create an incident
  servicenow.servicenow.snow_record:
    username: ansible_test
    password: my_password
    instance: dev99999
    state: present
    data:
      short_description: "This is a test incident opened by Ansible"
      severity: 3
      priority: 2
  register: new_incident

But when using with the latest SNOW Washington release, in order to update an incident properly you should pass impact and urgency and then SNOW will set the priority. This is an example snippet that works:

data:
          short_description: Event Driven Ansible Remediation Incident
          impact: 2
          urgency: 1

Trying to use the existing doc example does not have the desired effect in tersm of priority etc

@ffirg
Copy link
Author

ffirg commented Mar 14, 2024

Latest documented collection at https://galaxy.ansible.com/ui/repo/published/servicenow/servicenow/content/module/snow_record/ is also out-of-date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant