1.3.4 Flow of processes when using the application-execution agent functionality
The application-execution agent functionality can operate independently from the job controller and perform the following functions.
-
You can execute JP1/AJS jobs to run Excel or original interactive programs created by users in VC++.
<Examples>
-
If you newly start Excel, enter specific information including the date, person in charge, and check boxes for confirming contents of operation, and close Excel, Excel closes and you can move the file to a specific folder with the succeeding job.
-
If an original interactive program created by a user in VC++ is executed and then the interactive GUI is ended by clicking the OK button, the job will continue.
-
-
You can open the GUI window in JP1/AJS and execute programs of other products for which tools for automatic replies can be used.
<Examples>
-
Specify the program of the other product as well as the arguments of the GUI application execution program of JP1/AS that was specified in the definition of the PC job for JP1/AJS. (You can also use the custom job of the application-execution agent functionality.)
-
If you execute the PC job of 1, the GUI window appears in JP1/AJS - Agent, an automatic reply is sent, and the job ends.
-
The application-execution agent functionality executes the executable application specified by the user by linking the application-execution agent program with the GUI application execution program. The following is the flow of processes when using the application-execution agent functionality:
For details, see 3.12 Using the application-execution agent functionality (only for the Windows execution environment).
- Organization of this subsection
(1) When waiting for the executable application to finish [only for the Windows execution environment]
The following is the flow of processes when waiting for the executable application to finish:
-
Start the application-execution agent program for each running user in advance to start up Windows (1).
-
If you need to run the executable application, specify the -w argument and start the GUI application execution program (2).
-
The application-execution agent program starts the executable application when the GUI application execution program starts (3).
-
The GUI application execution program finishes when the executable application finishes (the flow of the dotted arrows) (4).
-
The application execution log stores the log when executing the application-execution agent program and GUI application execution program (5).
(2) When not waiting for the executable application to finish [only for the Windows execution environment]
The following is the flow of processes when not waiting for the executable application to finish:
-
Start the application-execution agent program for each running user in advance to start up Windows (1).
-
If you need to run the executable application, specify the -n argument and start the GUI application execution program (2).
-
The application-execution agent program starts the executable application when the GUI application execution program starts (3).
-
The GUI application execution program finishes when the executable application starts (the flow of the dotted arrows) (4).
-
The application execution log stores the log when executing the application-execution agent program and GUI application execution program (5).