0

I have this as part of a workflow:-

  1. I am building an array which contain NetworkID-NetworkTitle

  2. Then i need to filter the array based on the Array start with ID-

  3. then to get the NetworkTitle

here what i have:-

enter image description here

so is there a formula i can use to filter the array based on this formula:-

Item Array start with item()?['ID']-

and then get the NetworkTitle?

Thanks

1 Answer 1

0

See a sample showing how to apply filter on an array of objects and then get a field' value after filter being applied. After the filter has been applied, a new array of object might return (only items meet the filter criteria) or an empty array if no matches are found. You can get the desired fields value with an expression like shown below

if(greater(length(body('Filter_array')),0), body('Filter_array')?[0]['Title'],'Title Not Found')

The filter expression used in the sample

string(item()?['ID'])

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.