# ansible/service now integration specifically requests

**URL:** <https://forum.ansible.com/t/ansible-service-now-integration-specifically-requests/31649>\
**Category:** Ansible Project\
**Created:** [November 13, 2019, 2:08pm UTC](https://forum.ansible.com/t/ansible-service-now-integration-specifically-requests/31649 "2019-11-13T14:08:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doug\_OLeary](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@Doug\_OLeary](https://forum.ansible.com/u/Doug_OLeary)\
**Post date:** [November 13, 2019, 2:08pm UTC](https://forum.ansible.com/t/ansible-service-now-integration-specifically-requests/31649/1 "2019-11-13T14:08:27Z")

</div>

Hi;

My interaction with service now is typically tasks (TASK####) that come from requested items (RITM####) that come from requests (REQ####). All the examples I can find for the ansible service now modules are for incidents or change requests. I’ve looked through the docs for pysnow python module as well with the same result.

I have numerous possible uses; but the main one I’m looking at now is:

1. Request comes in to decom a system (REQ1234567) which creates a request item (RITM1234567) which creates a task (TASK1234567) in my queue.
2. The decom process has us creating additional tasks under the RITM to other groups - remove backups, delete monitoring, etc.
3. After a set period of time, we kill the system and close our task leaving the RITM tasks and original REQ to close as the service now process works.  
So, simple question: Does anyone have any examples for adding, modifying, &/| closing requests tasks?

I appreciate any hints/tips/suggestions.

Thanks

Doug O’Leary
