Skip to main content
New Idea

Fix custom field useage for Assets in FreshService - display_id is not available

Related products:Freshservice
  • November 11, 2022
  • 4 replies
  • 162 views

msconfig87
Top Contributor ⭐

Hello

This is not a feature request, its basically a bug report or lets call it lack of product quality check:

Currently if you create a custom field in a service request or ticket form which lets the requester chose an asset, you basically can’t do ANYTHING with this field after this, because:

  • Workflow Automator Action node does not incude “Associate an asset”
  • Workflow WebRequest node does not include Asset ID, only Display_ID (which we don’t have from the custom field)
  • Asset API only accepts the assets Display_ID but custom field gives out the ID
  • Asset API search does NOT accept ID
  • Asset API filter does NOT accept ID
  • Workflow Automator Reader node for Assets does NOT accept ID

Please fix this as soon as possible. We are stuck with all the workflows.

See the discussion here:

 

4 replies

msconfig87
Top Contributor ⭐
Forum|alt.badge.img+10
  • Author
  • Top Contributor ⭐
  • 149 replies
  • February 23, 2023

turns out in fact you CAN use the ID instead of the display_ID when using the Reader node!! Undocumented…
 

 


msconfig87
Top Contributor ⭐
Forum|alt.badge.img+10
  • Author
  • Top Contributor ⭐
  • 149 replies
  • March 6, 2023

also! adding this to the API will return the DISPLAY ID! I think this is solved then:

https://domain.freshservice.com/api/v2/tickets/TICKETID/?include=assets


msconfig87
Top Contributor ⭐
Forum|alt.badge.img+10
  • Author
  • Top Contributor ⭐
  • 149 replies
  • March 6, 2023

ok, not solved… If you link the Asset Reader with the ID of the Asset from requested item, then the association works.

If you link the Asset Reader with the actual text which is behind that ID (its the actual ID and not the display ID) then it will fail to find the Asset!
That means: Linking to Asset reader will work ONLY from within a Workflow! If you use API to do the same it will not find the asset…. wtf.
This means the Asset Reader has some ADDITIONAL magic implemented behind the ID field which is undocumented...


Aviationstuff
Top Contributor
Forum|alt.badge.img
  • Top Contributor
  • 4 replies
  • October 27, 2023

Thanks for this write-up it really helped us  👍