web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow does not detect t...
Power Automate
Unanswered

Flow does not detect the condition

(0) ShareShare
ReportReport
Posted on by 12

Hi; I have created several streams that save the attachment in a certain one drive folder. But one does not work correctly for me because there is no specific word that is the correct or incorrect process trigger. In the body of the message:  AGUA Coliformes   0  col./100 ml.

The codification that I put is that if it is different to Coliformes   0  col./100 , copy the attachment in a certain folder

Categories:
  • efialttes Profile Picture
    14,756 on at

    ¿Cómo?

    Sorry, probably it's me, I did not understand the problem.

    If you feel better explaining the problem in Spanish, I can translate into English so other member of the community can help too

    Plese can you also shre a screenshot from your Flow design?

    Gracias!

  • Hube Profile Picture
    12 on at

    Grácias; seguro que así me expreso mejor. 

    He creado un flujo para que los adjuntos se guarden en una determinada carpeta de onedrive según unas condiciones. 

    Una de las condiciones que pongo es que si en el cuerpo del mensaje se detecta que le valor es diferente Coliformes   0  col./100 lo guarde en una carpeta específica. Pero no lo hace.

    Igualmente cuando le digo que en el asunto contiene un valor mayor de F001 y luego en asunto contiene un valor menor de F999 tampoco lo detecta.

    Espero podertelo haber explicado. 

  • efialttes Profile Picture
    14,756 on at

    Hola!

    ¿Puedes compartir una captura de pantalla para que veamos cómo tienes actualmente definidas tus dos condiciones?

    GRacias!

     

    Now, translating into English...

    TOPIC#

    So you already have designed a Flow, attachments are stored on a OneDrive folder if specific conditions are met.

    One of the conditions is: if the body you detect the value is not equal to 'Coliformes 0 col./100' it stores in a specific folder. But it doesn't

    Also, when I define the Subject contains a value greater than F001 and less than F999 it does not detect it.

     

    SUGGESTION#1

    Can you share a screenshot from your current flow designed, so we can see how your two conditions are currently configured?

     

     

  • Hube Profile Picture
    12 on at
     

    Adjunto una captura con condicionesCaptura consulta Power Automat-1.jpg

     
  • Hube Profile Picture
    12 on at

    Adjunto otra captura con otra condición diferente que tampoco detecta. Todo acaba como falso.Captura consulta Power Automate-2.jpg

  • efialttes Profile Picture
    14,756 on at

    Hola!

    I just can talk about the second screenshot... the first one is a bit blurred. Can yout cut the condition part from the first screenshot and upload again?

    Sólo puedo opinar sobre la segunda captura de pantalla, la primer está algo borrosa. ¿Puedes recortar el bloque de condición de la primera y volver a compartirlo?

     

    So, you are searching for 'Coliformes...' pattern in 'Datos adjuntos' that seems to be 'Attachments'. My suggestion is to replace 'Datos adjuntos' and assign Body (¿'cuerpo del mensaje'?) from the trigger

     

    La condición busca el patrón 'Coliformes...' en 'Datos adjuntos', que entiendo que es el fichero adjunto. Si te entendí bien, quieres buscarlo en el cuerpo del mensaje, en ese caso mi consejo es que sustituyas 'Datos adjuntos' y uses '¿Cuerpo del mensaje?' ('Body' in English)

     

    Ánimo!

    Thanx!

  • Hube Profile Picture
    12 on at

    Grácias veré de cambiarlo. Ahora adjunto la otra condicion que no funciona Captura consulta Power Automate-3.jpg

  • efialttes Profile Picture
    14,756 on at

    Hola!

    Sorry for the delay in the answer. THe problem is, some of the rules you are applying are not properly designed

    Perdona por el retraso en contestar. El problema es, el diseño de algunas de las reglas que estás aplicando no es el adecuado


    Captura consulta Power Automate-3.jpg

    'Cuerpo' es el contenido del correo incluidos los tags de HTML, no debes utilizar la comparación 'es mayor que' ni 'es menor que'. PAra comprenderlo mejor, basta que añadas un bloque de acción 'Compose' (¿'Componer'?) y le asignes como valor 'Cuerpo', reejecutas el flujo e inspeccionas el contenido de este bloque de acción.

    Si sólo quieres el contenido en formato texto del Cuerpo, puedes usar el bloque de acción 'HTML to text'

     

    'Cuerpo' is the email body also with HTML tags. So you shall not use operators 'is greater than', 'is less than'. In order to understand it better, please add a 'Compose' action block and assign as its value 'Cuerpo' ('Body' trigger output) from the dynamic content menu. THen reexecute the flow and inspect its content.

    If you just need the email body content in text format, you an use 'HTML to text' action block

     

    Hope this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard