Skip to main content

Would like to know if anybody has tried to create a workflow that would update an asset record,  when it is associated to a ticket?

My example is the following:

A change ticket is created (example: decommissioning a server).  If you associate an asset record to that change ticket, a workflow can be created so that when the change record is moved to implementation, or  a trigger is activated, the associated asset record will be updated based on a selected field in the change form.  

Is this even possible?

Hi ​@Brian R,

I understand that you are looking to update the asset linked to the Change when a value in the Change is updated.

Currently, we do not have APIs available to fetch the associated assets for Changes, which would allow us to retrieve the details and implement this update on the asset through a workflow. This is an enhancement request on our end.

You can also submit a ticket to support@freshservice.com and follow our Freshservice Product Updates for the latest release notes.


Hi ​@Jovita Fernando , there seems to be an option under changes (in the V2 API documentation) to extract/get the asset associated with the change. (Service Desk API for Developers | Freshservice) If so, wouldn’t it be possible to use a GET call, fetch the associated asset, then use a PUT call to update the same ?


Hi ​@Nav_in,

Yes, we can utilize the GET API call for the Change in a web request within the workflow to retrieve the assets. After fetching this information, we can parse it using a JSON parser and then use it in a PUT call to update the associated assets.

https://api.freshservice.com/#view_a_change

 


Reply