Skip to main content

Notifications

Community site session details

Community site session details

Session Id : KaUoN8DUhpctzBMwI8dfCk
Power Automate - General Discussion
Unanswered

Validate field value and choose value for delay

Like (0) ShareShare
ReportReport
Posted on 7 Sep 2020 10:34:45 by 16

Hi,

I am trying to implement the Follow up on a message in teams flow. We would like to, besides the standard choices, ad a field where the user can type his own interval. 

Now I need to create a flow that checks both variables and checks if the value provided in the tekst box can be used in de delay. So if the box is empty or zero and the user did not pick a value from the choice boxes it should return a message to the user that the value provided is wrong. 

 

I have been trying al kinds of things but right know it looks like the condition that checks if the tekst box is empty. Regardles of the value provided the flow stops working and does not give any feedback to the user. 

 

Does anybody have any idea why the condition is not working?

jvdl_1-1599474839518.png

 

  • jvdl Profile Picture
    16 on 08 Sep 2020 at 13:30:30
    Re: Validate field value and choose value for delay

    Hi @ScottShearer ,

    Thanks you for you reply. I tried it using the empty expression 2 ways:

    1. Empty('<Variable>') is equal to true

    2. <variable> is equal to empty()

     

    Unfortunatly it still does not work. At option one the condition still does not go the right path, it uses the if no statement and i get the following error: The property 'count' must be provided in the 'Wait' action 'interval' inputs.

     

    When i use option 2 i get the following error:

    Unable to process template language expressions for action 'Voorwaarde' at line '1' and column '6993': 'The template language function 'empty' expects one parameter: the object, array or string to test for emptiness. The function was invoked with '0' parameter(s). Please see https://aka.ms/logicexpressions#empty for usage details.'.

     

    Any other thoughts?

    Thank you again.

  • ScottShearer Profile Picture
    25,223 Most Valuable Professional on 07 Sep 2020 at 15:50:10
    Re: Validate field value and choose value for delay

    @jvdl 

    To check for an empty value try using the empty() expression.  Let me know if you need an example.

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
David_MA Profile Picture

David_MA 8 Super User 2025 Season 1

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading complete