March 25, 2010 at 3:50 am
Hi,
Can someone please help me. I'm trying to evaluate a variable in a loop.
The variable contains the outcome of an sqltask which checks if a job has stopped running The Sql Task is inside the Loop container.
I have 2 variables:
Loop
JobStatCheck
The SqlTask JobStatus is inside the for Loop container and returns @JobStatCheck = 1 when the job has finished.
Initexpression: @Loop = @JobStatCheck
Eval Expression: @Loop > 0
AssignExpression: I left empty
March 25, 2010 at 3:29 pm
Do you have a specific question? How is your loop not meeting your needs? Are you getting errors?
March 26, 2010 at 2:11 am
The loop keeps running even though the variable changes, when the job has ended. Im also trying to find the watcher so i can review the value of the vars.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply