How to read jason extractor in jmeter using while controller : My scenarios is, I have have created a object and I have to pull the logs for that object. Log contains 10 IDs each have status like running or finished etc. I want to check status for each ID, if it finished then need to run next sampler if failed then exit the loop. 
I tried while controller  with condition ${__javaScript("${IDstatus}" !="FINISHED")}. Loop never exit even status is finished. 

Will appreciate the answer--
Thanks,