IntegrationHub usage transactions count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2023 11:08 PM
Hi,
In my instance I just found out there is something called IntegrationHub usage and there is a field called "Use count". I want to how this "Use count" field counts in IntegrationHub usage. Is there any code or script include related or the system counts by itself ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 12:24 AM
Hi @sieusaopolo15 ,
the "Use Count" field in the Integration Hub Usage [sys_hub_usage] table is automatically updated to track the number of times a specific Integration Hub spoke or action has been executed. This field helps you monitor the usage of your integrations. Here's how it works:
1. **Automated Tracking:** The "Use Count" field is updated automatically by the Integration Hub framework each time a spoke or action is invoked or used as part of an integration flow.
2. **Incremental Increase:** Each time the spoke or action is used, the "Use Count" is incremented by one.
Below articles provide some insight on Integration hub usage count.
Please mark my answer helpful & accepted if it addresses your question.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 01:53 AM
Hi @Danish Bhairag2 , thanks for the information you gave me it is what I need to understand how the field works but after testing and observe I came to conclusion that the field is not immediately updated by system when I executed some Flow Action or Flow in Flow Designers. It would take some times for the field to be updated. May I ask is there any scheduled job which will update this field in the instance ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 01:34 AM
Hi @sieusaopolo15 ,
Hope you are doing great.
To view the "Use count" field:
-
Navigate to IntegrationHub Usage:
- Go to your ServiceNow instance.
- In the application navigator, type "IntegrationHub Usage" and select it from the list.
-
Once you're in the IntegrationHub Usage module, you should be able to see a list of integration actions along with their respective "Use count" values.
-
The "Use count" field represents how many times each integration action has been executed. This is automatically incremented by the system every time the action is triggered.
-
You do not need to write any code or script to track the "Use count". The system handles this automatically.
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 01:44 AM
Hi @Riya Verma , thanks for the information it very helpful. But there is one more thing I'm very curious about which is the update time of this field. When I execute an action it doesn't increase immediately, but after a time it automatically update the field's value. Is there any scheduled job executes for this or it's just simply the system needs more time to calculate the number of action executions I've just made ?