...
Moreover this API method can be exposed to Oracle pl/sql procedures or functions (by Java classes in the database) that enable jobs to be launched in a transactional environment (e.g. start a job exlusively after commit has been invoked) either by triggers or e.g. by PL/SQL procedures.
Using successor jobs and orders
You could configure any jobs to succeed the current job based on it's execution result. Thes example makes use of both a successor job and a the execution of a job chain by adding an order:
Code Block |
---|
<job> <process file="..."> or <script language="..."> <commands on_exit_code="success"> <start_job job="ftp_get_files"><params/></start_job> <add_order job_chain="sos/examples/JobChain_I/job_chain_I"><params/></add_order> </commands> <commands on_exit_code="error">...</commands> <commands on_exit_code="1 2 4 8">...</commands> </process> </job> |
...