ansible/service now integration specifically requests

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