-
Suggestion
-
Resolution: Unresolved
-
121
-
Problem
At the moment, we cannot update Insight object attributes having multiple values via Automation by using smart values.
The Edit Assets field attributes action does not allow to remove/add a specific value from the existing values. It will overwrite the existing value.
Suggested Solution
Similar to Issue Components and Labels Jira field, provide the ability to update the insight field object attribute using advanced JSON that can help using add/update/set operations as mentioned in Advanced field editing using JSON.
Why This Is Important
This will help especially when we want to remove a specific value from a multi-value attribute of an object. Due to the limitation, this is not possible at the moment.
An example use-case can be that a request is raised to remove specific application access for a user. Given we are storing these applications in an Application attribute for an employee object, we cannot remove this attribute via automation and have to perform it manually.
If there was a provision to remove a particular value, this process could be automated
And while you are at it.
If you currently reference an extra object in an attribute of a different object, the REST API call can become really slow if you already have a lot of referenced objects. I'm talking about 100+ referenced objects. The update of the attribute can take minutes.
So adding only one new referenced object instead of first getting the current linked object list, add an object to the list and update the attribute will be much easier, safer and faster.