- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2024 02:42 AM
I'm explorering the posibilities to use the integration HUB to automate some of our servicedesk tasks. One of the most used tasks in service requests is adding a user to a group in Entra ID. The Entra ID spoke makes it easy to automate. But, we serve multiple customers as an MSP and all those customers have their own Entra ID environment. I can easily create a connection to each environment, but I'm looking for a way to dynamically select the connection to use for a step in a flow.
A use case for example would be to add a user to a group for a license for application X. These groups are always called application X users. (After approvals) the first step would be to look up the group in Entra ID based on the name, a second step would be to add the user to that group. As a connection has to be set on the flow level, that would result in a seperate flow and catalog item for each account and (current) catalog item combination. That is not really manageable and efficient. If it's possible to dynamically select the connection based on the account of the user, that would prevent it.
I've tried to copy an action from the Entra ID spoke and add a variable for the connection (reference to the http_connection table) and add that variable as the connection alias in the REST step, but that's not allowed.
Did someone find a workaround for this in the past, or am I looking in a totally wrong direction?
We're using the CSM, ITSM and IntegrationHUB enterprise modules in ServiceNow and are running on the Washington release.
Solved! Go to Solution.
- Labels:
-
flow designer
-
IntegrationHub

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 03:28 AM
What pill type did you use? Below I added a reference pill for the connection and credential alias table
Then on the REST step, I use the data pill to map the alias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 06:13 AM
I used the same pill type, but couldn't edit anything in that step. The reason was that the integrationhub wasn't activated through the support portal, and only the spoke was installed as a plugin.
After activating the ServiceNow Integrationhub Professional Pack installer through the support portal and it's Automation Store, it was possible to change the value and insert the pill.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 04:48 AM
Hey,
Some spokes allow for the connection alias to be passed in as an input for the action; sad to see that the Entra spoke doesn't allow for this.
Based on your requirement I would
- Leverage a decision table to decide on the connection alias to use. This could be based on the company of the user, or a relation to a CI. All dependent on the data quality within your environment
- Clone the action(s) you need, and add an input that allows you to pass in a connection alias based on the result of the decision table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 12:05 AM
I tried to clone the action and add an input with the connection that was needed, but it's not possible to use a data pill to fill the connection field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 03:28 AM
What pill type did you use? Below I added a reference pill for the connection and credential alias table
Then on the REST step, I use the data pill to map the alias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 06:13 AM
I used the same pill type, but couldn't edit anything in that step. The reason was that the integrationhub wasn't activated through the support portal, and only the spoke was installed as a plugin.
After activating the ServiceNow Integrationhub Professional Pack installer through the support portal and it's Automation Store, it was possible to change the value and insert the pill.