I want to do IF statement: If my resource runs out of data to process do x actions. How do I do this? I tried to use Ignore errors but that did not work.
@ptt-bds Bác có 10 luồng thì đầu tiên nếu không có gì xảy ra nó sẽ lấy 10 dòng đầu tiên, sau đó thì cứ luồng nào "ra đi" nó sẽ lấy dòng tiếp theo, đâu có theo quy luật như 1,11,21,31 vs luồng 1 như bác nói đâu.
@andreiem I added a random sleep time before all the procedures started. The 1st thread starts. and then 2nd thread .. 3 and 4 5 ... Since they do not do the same operations at the same time, they do not consume much processor.
Hello,
I need to use resource while loop as list foreach loop. But i getting resource end/finish error. I dont want to stop thread on resource end. Any idea?
You can move a resource to a list and use it. Or use the "Don't end application if not exists" option and the "Ignore Errors" action
Ignore errors was that want i need :)
I cant use list because i working in multi mode and this resource is cuted by all threads :/
yes sir but if i want to fill data from second line then how it is possible.because to fill data sometime script stop,if the script will start again it will fill data from starting of txt file.I want to fill data from desired line using BAS.is it possible?
In that case you can "Write File" and used lines will be deleted in case if script will stop