Skip Task if Job Variable is >500 - VisualCron - Forum

Community forum

kenigm
2023-01-14T00:38:38Z
Please help me understand how to skip a task if a job variable is greater than 500.
1. Read File task from file counter.txt
2. Set Job Variable task Variable MyCount to {TASK(PrevTask,StdOut)} - I assume this is now an integer since I checked the box "Translate value to constant in Variable when running"
3. if Job Variable MyCount is > 500 go to task "X"
Sponsor
Forum information
SickPup404
2023-01-25T16:40:17Z
You should be able to do that in the Task Flow "On Complete", look at your variable with "{USERVAR(MyCount)}", set your counter threshold, then in the Go To Task, pick the task you want
Scroll to Top