How to access Assets using Asset name using an if condition?

I have a list variable of different names as values.

How can I access an asset based on the Asset Name?

I want a for loop for each value in a list, and then have an if condition(if value == Asset Name) then Get Credentials of that Asset.

What can be a best possible way to achieve that?

Let me know if more details are required.

You can use a variable in the asset name property of the Get Credentials activity.

I am getting weird execution when I try to use a variable in the asset name of get asset activity. So - can I only use the drop down that identifies assets available to me? I want to use a variable. FYI - out of the box REFramework has issues when trying to read Assets.