cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate IV
Advocate IV

Flow condition depend on numbers

Hello everyone,

 

I'm creating a flow that have a condtion that say if the file 'name' contains 'a number' but it return an error.

How can i fix it ?

 

Thank you in advance,

 

1.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper II
Helper II

Re: Flow condition depend on numbers

there is your answer. try writing "1" (in quotation marks, though it might have to be single ones '1'). when that works for something with a 1 in it try "1","2","3","4",.... if that doesn't work you need a line for every number.

View solution in original post

5 REPLIES 5
Highlighted
Responsive Resident
Responsive Resident

Re: Flow condition depend on numbers

Hi George,
Do you want the condition to = yes if the file name contains any number?

Highlighted
Advocate IV
Advocate IV

Re: Flow condition depend on numbers

@CollabTechie hello,

 

Yes the condition is :  if "Name" contains "1234"

Highlighted
Helper II
Helper II

Re: Flow condition depend on numbers

I think the question was if you want to check for any number (1 or 2 or 3 or 4 or 5 or...) or specifically "1234"

Highlighted
Advocate IV
Advocate IV

Re: Flow condition depend on numbers

@Maexchen 

 

the condition is for any number that contains/exist in the Title

 

it give the following error : 

 

"< Unable to process template language expressions for action 'Condition' at line '1' and column '2777': 'The template language function 'contains' expects parameters of matching types: a dictionary and a key (string), an array and a value (object), or a string and a substring. The provided types 'String' and 'Integer' are incompatible. Please see https://aka.ms/logicexpressions#contains for usage details.'. >"

Highlighted
Helper II
Helper II

Re: Flow condition depend on numbers

there is your answer. try writing "1" (in quotation marks, though it might have to be single ones '1'). when that works for something with a 1 in it try "1","2","3","4",.... if that doesn't work you need a line for every number.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (9,776)