Script Action
The Script Action is used to execute a script. This gives you the flexibility to respond to job events in ways not provided for by the built-in Actions offered by adTempus.
While an Action is being executed, adTempus cannot perform any other "work" on the job with which the action is associated. For example:
- If more than one action has been specified in a response, each action cannot be run until the previous action has completed.
- adTempus cannot start the next step of a job until it finishes the current step. This includes running all actions associated with the step.
Therefore when you use a script action your script should be something that runs quickly, so adTempus can be about its business. If your script goes and launches some external application using the application's automation interface, and then spends 10 minutes doing something with that application, your adTempus job is going to be patiently waiting.
If you want to launch a script without waiting while it executes, you should create a separate job to run the script using a Script Execution Task. Then use a Job Control Action to start that job instead of running a Script Action.