How to get only single sub record form list of dictionary?

Hi Team,

I have list of dict. like:

{{{customername: "Hardy", name: "S1", region: "Asia"}}, 
{{customername: "Len",name: "SRD", region: "NA"}},
{{customername: "MAdusa", name: "Line 9", region: "Australia"}}}

Now I want to store only name values in a local variable.

I need result like, '

local!variable1 = { "S1","SRD","Line 9" }

how to do this with loop ?

Because list of dict. can be more or less or empty so need code which can handle if the list comes empty(can return null), I will be using this code in expression rule

  Discussion posts and replies are publicly visible