Problem
My task stays in an active state when I submit a job?
Solution
This can be caused if the job is unable to send an ecflow_client --complete child command to the ecflow_server.
This can be caused by an error that is not trapped, such as the job being killed with a -9 option or the host system crashing.
Check that the job is running and if not rerun or synchronise the task status in ecFlow as appropriate.
Consider writing, ECF_STATUS_CMD (akin to ECF_JOB_CMD,ECF_KILL_CMD) to detect if the remote job is still running. This is especially useful when dealing with hundreds of tasks.