How to call CMDB IRE when creating CI using Flow?

Suggy
Giga Sage

We have built catalog items and it has variables like Name, serial number, OS, RAM etc. Once the user submits it the catalog item, the FLOW will get executed and creates/updates the CMDB.

We dont want to give direct/write access to CMDB tables and we have DECIDED to go with this approach.

 

Now, to avoid the duplicates, we need to make use of the CMDB IRE in the FLOW. How to do it? 

Looking for steps to implement the same.

 

Thanks in advance!!!

22 REPLIES 22

Sandeep90
ServiceNow Employee
ServiceNow Employee
  1. @Suggy  You can use IRE APIs from your flow and create/update the CI. Please refer to API docs  the https://docs.servicenow.com/bundle/xanadu-api-reference/page/app-store/dev_portal/API_reference/Iden... 

Hi @Sandeep90 thanks for rpelying. Yes I am aware that there are IRE APIs, but how do I call it in the Flow?

Also the IRE needs the payload in a specific format right, how to build it and how to call the IRE api in the flow.

Your guidance will be much appreciated, thank you in advance,

You flip it. Call the flow from a data source (data stream), and then use the data source in an IH-ETL as usual. The flow would be producing an array for the data source to put into an import set table when the scheduled import runs. So it's not the flow calling the IRE API.

Suggy
Giga Sage

,