Question

Automatically associate assets to incidents

  • 7 July 2022
  • 4 replies
  • 57 views

Userlevel 2
Badge +1
  • Top Contributor
  • 5 replies

Hello FreshService Bods!

 

 Its been asked before (But with no solution) but has anyone worked out how to automatically associate assets to incidents. We have hooked our monitoring product into FreshService and its busy logging tickets but I feel like I’m going backward if I have to ask someone to manually associate the assets ???

 

 I’ve checked supervisor, workflows and alert rules but can;t see an easy way to crack it. We could code it up in PShell but I’m trying to avoid that, any thoughts ?


4 replies

Userlevel 7
Badge +14

Hello @JonO I would try creating a workflow automator to automate that process. There a few ways to do it, but ultimately you could make an API request to the Freshservice API and associate an Asset in that fashion. You will need to find out how you can gain access to the asset ID from the ticket (whether that is a field where that idea is populated, etc) so that you can make the workflow dynamic.

Let us know if you need any further help with that. Take care.

Userlevel 2
Badge +1

Thanks @zachary.king this is what we concluded as well. I was hoping there would be a nice workflow way of doing it but I think as you say it will be picking out those ticket types, running a match on the ‘node’ with a problem to find an asset ID then add the association. 

 

I’m doing it manually just to see the data and I have to say its well worth doing, you can get some reports on assets with the highest number of incidents, although I would much rather a dash which seems to be something missing from the asset side of things!

 

Userlevel 2
Badge +1

Thought I would actually put a conclusion on this one, we managed to complete it ! The workflow has a liquid filter to extract the CI name then uses the api within the workflow to make the association. 

Userlevel 2
Badge +3

Thought I would actually put a conclusion on this one, we managed to complete it ! The workflow has a liquid filter to extract the CI name then uses the api within the workflow to make the association. 

Are you using the API with in the automator? 

Reply