I have a boolean wired to a case structure in a while loop that performs a task once . I used latch when released for this. I have another boolean that subsequently performs other tasks within the same while loop. This is set to switch when released as these have to be done multiple times. I want to use one boolean for both the tasks. How can I do it. The tasks have to be sequential.