Start Subprocesses within a Process
(This methodology is an older one and has changed!)
In real life, processes start within a process that is already running. AutoScript has the appropriate tools to handle this situation.
When there is a need to call a Coordinator Agent within a Coordinator Agent that is already running, and we use code like the following:
ag = agent_create(“AGENT_NAME“)
call agent_run ( ag, param1, param2, param3, .... )
call agent_free ( ag )
When there is a need to call an Expert Agent, we use code like the following:
ag = agent_create(“AGENT_NAME“)
call agent_run ( ag, param1, param2, param3, .... )
We free the “child“ agent by the system and not the programmer in the second situation.