The CreatorCon Call for Content is officially open! Get started here.

INtegration Hub spoke query - Scripted rest?

ShAn21
Tera Guru

Hi Team,

I hope we agree that the best practice for Integration Hub is to create one spoke for that 3rd party system and bundle all integration functions inside it. But my question is if we have inbound functions for the same 3rd party, Can we create scripted rest APIs within the same spoke or is it not the best practice and keep it in Global?

 

Thanks

5 REPLIES 5

Bhuvan
Mega Patron

@ShAn21 

 

If you have license for Integration Hub Enterprise, try using 'REST API Asynchronous' trigger for Inbound API integration using third-party application scope so that it is contained rather than using Global.

 

Below is a sample Action

 

Bhuvan_0-1759996008859.png

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Hi @Bhuvan  

Could not find this in my customers instance. Looks like some plugins are still not installed.

 

Thanks

@ShAn21 

 

Refer below documentation for more details

 

https://www.servicenow.com/docs/bundle/zurich-integrate-applications/page/administer/integrationhub/...

 

If you are entitled with IntegrationHub Enterprise license, you can activate the required plugins and enable REST API trigger that can be used for Inbound API calls and subsequent Flows or Actions. Please check with your Accounts team or ServiceNow representative whether your license entitles you for this trigger before activating the plugins.

 

For your original question, I would recommend creating the Flow or Action or Scripted REST API within a scope rather than global so that it is contained.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Ankur Bawiskar
Tera Patron
Tera Patron

@ShAn21 

I don't know if you are allowed to select that Scope in which the Spoke is available.

Did you try that?

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader