Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Write Multiple values to Insight Attribute

Dave Ellard June 13, 2022

Hi All,

I am writing an Insight Groovy script to enrich a user object. When enrichment fails for a reason I want to store multiple reasons as to why the enrichment fails. All the reasons are stored in a seperate object schema, so I want to be able to select the reason code and write them to an Automation error attribute. 

Should I collect any existing values in my user object and then append the new reason code to the list and write the list back?

Any help / code snippets would be greatly appreciated.


 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events