First of all, please click on that “Code” tab and paste the code using code fences.
code goes here
Screen shots are next to useless.
There are a number of irrigation examples on the forum.
It’s all but impossible to read the screenshot on my phone but that looks like you are sending a command to an Item then executing a script to insert a delay. If you have to use a Script Action anyway, just put it all into a single Script Action?
But even if you do that this is probably not the best way to implement something like this because there is no way to stop it. Every time it runs it will run from start to end and there is nothing you can do about ti beyond stopping openHAB and manually closing the last valve. So please look at some of these other approaches above for approaches that use Timers and are cancelable.