Stay informed and never miss an iCTO update!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Have you ever wanted to list a users assigned assets from their profile into a ticket note? well then this liquid filter should help you out. The steps are quite simple in a workflow:
{% assign name_array = P4.root.assets.assets_object.name | remove: '[' | remove: ']' | remove: '"' | split: ',' %}
{% assign tags_array = P4.root.assets.assets_object.asset_tag | remove: '[' | remove: ']' | remove: '"' | split: ',' %}
{% for a in name_array %}
{{ a }} : {{ tags_array[forloop.index0] }}
{% endfor %}
There you have it, a list of Assets in a note attached to a ticket. With this you can get inventive and perform more advanced operations, for example: determine if the user is requesting a change to an asset they are an owner.