Hi everyone,
This is probably quite an easy one to resolve but I'm wasting quite a lot of time trying to understand where the issue is and would really appreciate some help.
I have set up an Array variable, 'varArray'. Inside this is a set of records, each with two attributes, Attribute1 and Attribute2.
I have a String variable, 'varString1'. Inside this is a string which will match the Attribute2 value of one record in varArray.
I have set up an Apply to Each using the value of varArray.
Inside the Apply to Each I have set a Filter Array action to try to 'filter' varArray, when 'Attribute2' contains 'varString1'. I am not sure this is the correct implementation to achieve what I need and need some help understanding if there are any pre-actions required, and/or how to correctly complete the fields in the Filter Array.
I want to then set another variable which contains the output of the filter query (returning Attribute1) and need to understand what expression to use for this.
I have had a series of errors, or, the filter query will return a null output even though there is definitely a match between Attribute2 and varString1, and tried to correct various aspects of the filter query but I'm not sure where the problem lies so any assistance would be much appreciated. Many thanks!