Odoo ServiceNow integration

ServiceNow Connector

Work ServiceNow incidents as Odoo tasks. Send the notes back when you are ready.

ServiceNow and Odoo 19

What it does

Your customer or your group runs ServiceNow; your team plans its work in Odoo. This connector reads incidents through the ServiceNow Table API and opens a task for each one in the project of its assignment group, with the caller, the assignee, the priority and the stage of its state. Work notes, comments and resolutions go back to ServiceNow only when a manager presses the button.

You give Odoo the address of the instance and an integration user with web service access only. Test Connection checks it and Load Assignment Groups lists the groups, each with its own project and its own Create Tasks switch.

Import Incidents (a button, or every 15 minutes) reads the incidents changed since the last run, with an optional encoded query of your own on top. Each incident keeps its number, short description, description, state, priority, impact, urgency, category, channel, group, assignee, caller, company, configuration item and resolution. Its task lands in the project of the group and moves to the stage you picked for each state.

Callers become contacts under their company, found again by their ServiceNow ID or their email inside the same Odoo company. The assignee is matched to the Odoo user with the same email. Attachments up to the size limit (25 MB by default) are copied to the task; bigger ones stay in ServiceNow with a note.

From the incident a manager can send the newest internal note of the task as a work note, send an additional comment the caller sees, or resolve the incident with a resolution code and notes. A task that has no incident yet can open one in ServiceNow. Nothing is sent by the schedule.

Who it is for

  • Service providers working tickets from a client's ServiceNow. Your customer logs incidents in their own ServiceNow and your engineers plan in Odoo Project. Each incident for your assignment group turns into a task in the project you picked for that group, with the caller added as a contact.
  • Local teams under a head office that runs ServiceNow. Group IT keeps ServiceNow as the system of record while the branch team schedules field work in Odoo. Incident states move the Odoo task to the stage you mapped, so the board follows ServiceNow without anyone retyping it.
  • IT departments on Odoo Community without Helpdesk. You need ServiceNow incidents and CMDB items in Odoo but don't want Enterprise Helpdesk. The connector only needs Project and Discuss, and configuration items show which incidents point at each computer or server.

Setting it up

  1. In ServiceNow, create an integration user with Web service access only, the itil role and the GMT time zone.
  2. In Odoo open ServiceNow > Configuration > ServiceNow Instances, enter the https instance address, the integration user and its password, then press Test Connection.
  3. Press Load Assignment Groups and choose a project for each group in the Assignment Groups tab. Untick Create Tasks on groups you only want listed.
  4. In the States and Stages tab, pick the task stage for each incident state value.
  5. On the Import tab set an Extra Incident Filter if you need one, a Default Project for incidents without a group, the attachment size limit and the CI Classes to read.
  6. Press Import Incidents and Import CIs, check ServiceNow > Incidents, then tick Import Every 15 Minutes and choose the Run As user.

ServiceNow Connector: questions

Does anything get written to ServiceNow automatically?

No. The 15 minute job only reads changed incidents. Work notes, additional comments, resolutions and new incidents are sent only when a ServiceNow Manager presses the button on the incident or the task.

Which ServiceNow API and account do I need?

It uses the Table API with basic authentication, so you need an instance on a public https address and a user allowed to read incidents, groups, users and CIs. Local and private network addresses are refused.

Will a work note be sent twice?

The Send Work Note dialog offers the newest internal note of the task that hasn't gone yet, and the module remembers which Odoo messages were already sent to ServiceNow.

What about large attachments?

Files up to the size limit, 25 MB by default, are copied to the task. Anything bigger stays in ServiceNow and a message on the incident names the file and its size.

Can it handle more than one company or instance?

Yes. Each instance record belongs to one Odoo company, and record rules keep instances, incidents, groups, CIs and the API log inside the user's allowed companies.

Does it sync problems, changes or requests?

No. It reads the incident table and the CMDB classes you list. Problem, change and catalog request records are not imported.