Skip to main content
Question

is there any built in action to remove duplicate values in chronicle SOAR

  • November 24, 2025
  • 2 replies
  • 24 views

vanitharaj1208
Forum|alt.badge.img+14

Im using set context on alert level and i have multiple duplicate values.

Now i need to remove all duplicates

2 replies

kentphelps
Staff
Forum|alt.badge.img+11
  • Staff
  • December 5, 2025

Does the Distinct function in the Expression Builder  do what you need to get done?


AymanC
Forum|alt.badge.img+13
  • Bronze 5
  • December 6, 2025

Hi ​@vanitharaj1208,

 

If the input you’re using in Set Context isn’t a Json result (so you can’t use the Expression Builder), how about using the ‘String Functions’, using ‘split’, selecting a delimiter which is in the duplicate list you’re trying to put in Set Context (commonly a ‘,’), this will generate a jsonresult, of which you can use the above reference provided by KentPhelps to use the distinct() function.

 

Kind Regards,

Ayman