cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DaftNewb
Frequent Visitor

Trying to use dynamic content in advanced mode filter array

For testing purposes i've placed a text inside a compose step and i want to put what i have in the compose step at advanced mode filter array (@and(outputs('Compose')) ) but it says that the supported type is Boolean and the output is of the type String but if i literally pick what i have inside the compose and place it instead the flow run sucessfully (@and(contains(item()?['column1'], 'test1'),contains(item()?['column1'], 'test2')) ). is there any way i can make this to work without me having to manually copy and paste on the advanced mode on filter array?

 

Thanks in advance for all the support.

1 REPLY 1
DaftNewb
Frequent Visitor

i've found out that i can use compose where the identifiers goes like:

@And(contains(item()?[outputs('Compose_1')], 'outputs('Compose_2')'

but this still doesnt help me much because there can be multiple criterias. is there a way which i can put more than one word to filter? like:

@And(contains(item()?['column1'], 'Excel','English','Power Automate')

or something similar? or a way to construct a loop that is acceptable on power automate advanced mode filter array?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,417)