cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PhillH
New Member

DO UNTIL excel cell updated

Hi, 

 

I am attempting to build a flow that will send an email once I have updated a spreadsheet however the DO UNTIL doesn't appear to be working as expected.

 

Basically we have a form that is filled out when someone new starts, this emails IT to create the account. We want it to then wait (Delay) until IT have updated a spreadsheet to say they have created the account and then send an email to other people to setup 3rd party apps. The 3rd party apps use the email address as the username so they cannot be setup until IT have created the account.

 

I have setup the below (it may have gotten a bit messy as I've been trying to troubleshoot the issue) can anyone tell me why this isn't working?

 

PRekYTNwu8.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Any help would be very appreciated 🙂 

 

Thanks,
Phill

1 ACCEPTED SOLUTION

Accepted Solutions

@PhillH 

Is Do Until looping even though condition is already met?

If so, not sure if excel get a Row converts integers into strings, so that's why condition is never reached. Can you try to modify the expression as follows?

 

@equals(body('Get_a_row')?['IT Account Created'], '1')

 

Hope this helps

 

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

5 REPLIES 5
efialttes
Super User
Super User

@PhillH 

Can you alaborate a bit more on your problem? Please click on "edit in advanced mode" option inside the Do Until action block and share the expression displayed. A screenshot with the error would be useful also

Let's see if this way we can help you solve the problem!

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Hi @efialttes , thanks for getting back to me.

 

When I click edit in advanced mode I get the below:

@equals(body('Get_a_row')?['IT Account Created'], 1)

 

Basically, when a form response is submitted it is recorded in a spreadsheet. I am trying to get the flow to delay sending an email until I update a cell in that spreadsheet to "1". 

 

Thanks,

Phill

@PhillH 

Is Do Until looping even though condition is already met?

If so, not sure if excel get a Row converts integers into strings, so that's why condition is never reached. Can you try to modify the expression as follows?

 

@equals(body('Get_a_row')?['IT Account Created'], '1')

 

Hope this helps

 

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Thanks @efialttes that seems to have sorted it, can't believe I didn't notice that earlier! 

@PhillH I must confess it happened to me also some time ago, spent several days struggling with this issue

Glad to help



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,857)