Skip to main content

Notifications

Community site session details

Community site session details

Session Id : niPWr67KnLGMedSwkmef9W
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 22 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started