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
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.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,450)