Hello,
in one of my tasks there's sometimes a weird behaviour when starting a sub-task:
Question is, why is it trying to start again?
Sub-task shows this log entries:
This is fine.
- to be continued in next entry -
Start Task
Re: Start Task
Sub-task is ending:
But then, this happens:
Main task continues: OK.
But the sub-task is starting again without being asked to do so: That means, tasks are out of control and we are in a kind of trouble now.
What do you think is going on? There's no reason like a loop or another main-task starting the sub-task.
It's not the first time that we see this problem.
Thank you in advance for any help.
So far OK.But then, this happens:
Main task continues: OK.
But the sub-task is starting again without being asked to do so: That means, tasks are out of control and we are in a kind of trouble now.
What do you think is going on? There's no reason like a loop or another main-task starting the sub-task.
It's not the first time that we see this problem.
Thank you in advance for any help.
Re: Start Task
You use "Required start" option.
The warning "Try to start the task again" means that specified task is already running now.
In this case the action tries to start target task two times per second until it can start the task.
This is absolutely normal situation.
The warning "Try to start the task again" means that specified task is already running now.
In this case the action tries to start target task two times per second until it can start the task.
This is absolutely normal situation.
Oleg Yershov
Re: Start Task
Maybe it's necessary to reduce the amount of such warnings.
Suppose 1 warning per minute, not more frequent.
Suppose 1 warning per minute, not more frequent.
Oleg Yershov
Re: Start Task
No, the sub-task was definitely not running before: It was started by the main-task and the same main-task is trying to start it again immediately.The warning "Try to start the task again" means that specified task is already running now.
Yes, for me that's kind of a default setting to be sure it will at least run once.You use "Required start" option.
Re: Start Task
Required start option is necessary in these cases:
In most cases this is not necessary. We recently added this option, because several users asked us about this.
- if the you main task pass some parameters into the sub-task. So the sub-task must process these parameters. It can process another parameters if it's running now.
- the main task makes or copies some files and sub-task must process them. If sub task is running now it can miss these changes in the folder
- some other similar situation when the task must process the current environment in any case
In most cases this is not necessary. We recently added this option, because several users asked us about this.
Oleg Yershov
Re: Start Task
Each task can not be started twice at the same time.
If required start is off the action do this:
If required start is off the action do this:
- If sub task is running now. The action ignores the starting of sub-task. Of course it can wait until sub-task finished
- If sub task is not running. The action starts sub-task
Oleg Yershov