Questions tagged [until-loop]

59 questions
0
votes
1 answer

Ansible "until" conditional with multiple command

Question: Why the "until" conditional doesn't wait until the end of a multiple commands execution so that the "results" array is built and a specific element of the results list can be evaluated in the until condition? Example: I've got a multi-item…
StefTN
  • 310
  • 3
  • 8
0
votes
1 answer

Unless and Until in programming languages

What is the difference between if (false == ) and if (!) and unless () What is the difference between while (false == ) and while (!) and until () Why isn't unless and until…
0
votes
0 answers

How to Get Loop to move for the next range?

I'd like to get the following code running for the same range but for different rows, until there is no more data in the rows. So I'd like to get VBA to copy ("P7,T7"), paste it at ("A5") copy ("B2") and paste it at ("X7") - and so on... until there…
0
votes
1 answer

Powershell executing If Statement when condition is not met

I am having an issue with my If/Else statement where it will successfully prompt the user until either a "Y/y" or an "N/n" are entered and will store the proper response in the $input variable outside of the Do/Until loop but will execute the first…
0
votes
0 answers

Loop trough range and find vlaue

I have a problem, so i try to toop trough a range and insert everv found item into a listbox. So far so good, the first row was found, but then nothing? Dim ItemRange As Range: Set ItemRange = Data.Range("Data!A1:F300") ''Set the range within I want…
Philip
  • 3
  • 2
0
votes
1 answer

Color Guessing Game in Powershell

I'm working on writing a script in PowerShell for a Color guessing game. The computer randomly picks a color then the player tries to guess the color. I had it working up until I switched some lines of code in the script in an attempt to get these…
Ian Finch
  • 1
  • 3
0
votes
2 answers

Need iteration / until in bash script with if condition

I have this script that checks if the webserver is up and the health check succeeds. I was using "sleep" before the service starts. I am looking to improve it, and put some "iteration/until" options which will check if service health check succeeds,…
PriyeshG
  • 1
  • 1
0
votes
0 answers

Until loop module fails with "dict object has no attribute state"

Here is my Ansible task - name: wait until response has key word "PIPELINE_STATE_SUCCEEDED" uri: url: https://abcd.com/response method: GET register: ABCD until: ABCD.json.state == "PIPELINE_STATE_SUCCEEDED" retries: 30 delay:…
quicksilver
  • 289
  • 5
  • 11
0
votes
2 answers

Running until loop on a flattened data structure in Ansible

I am trying to run an ansible "uri" task that fetches the status in an "until" loop till the status returned is either SUCCESS or FAILED. My task looks like this: - name: Fetching recycle status uri: url: "http://{{ restarter…
sdhir
  • 41
  • 7
0
votes
1 answer

ADF until block skipped property to send mail Email notification

If until activity skipped after 5 mins. I need to send a mail. How to send the message from until to email notification pipeline. Email notification have message as a parameter. What is the correct Syntax if pipeline skipped

Hi…

anuj
  • 124
  • 2
  • 13
0
votes
1 answer

ADF Until activity runs only when expression result false

I know Until activity works as do...until. So it doesn't check expression for first run and when 2nd execution for inner activity comes it first check the expression. If expression results true then it will execute inner activity and so on... But…
Manish Jain
  • 217
  • 1
  • 4
  • 16
0
votes
1 answer

VBA loop / do until

I'm trying to configure data in a very specific format in order for it to be uploaded to a software. I have a count sheet that has the amount of lines needed to be entered on my upload template sheet. The values on the count sheet range between 3,…
Adam Dyer
  • 3
  • 1
0
votes
1 answer

VBScript Do Until Loop Keeps Skipping The First Line

my Do Until Loop keeps skipping the first line of my text file. I have moved the ReadLine function out of the loop and it still skips the first line. Can somebody please help me with this? The first line is not a header and I need to read it. Sub…
0
votes
1 answer

Do Until Loop not executing email to all records in a table

I am attempting to perform a Do Until...loop which should search all records in a given recordset while looking for an email address from a particular field. A separate field in a table that has a null value will update when the loop is executed. My…
0
votes
1 answer

Python Wait /Pause until specific Time... And stop at end of schedule

With the following code, I am trying to run program between 9:15am and 17:30pm;; and it should esentially stop at 17:30pm and then, again wait until next day 9:15am without ending itself. ### For experiment sake, I have made the…
Lokkii9
  • 75
  • 1
  • 15