Create Scheduled Task for AIIM
Explanation
This activity is used to create a scheduled task for AIIM, such as the export
and import of an integration package and the conversion of an integration
package to and from Excel. Scheduling these tasks enables the automatic start of
an export, import or conversion task for AIIM at a defined time and frequency,
eliminating repetition and manual effort.
Prerequisites
- The connection details, such as the Username, Password and Connecting
Server should be known.
- For the scheduling of exporting and importing integration package tasks,
the required jobs should be defined along with job parameters for export or
import.
- For the scheduling of the conversion of an integration package from
Excel task, a plug-in package on the current job must have already been exported.
- For the scheduling of the conversion of an integration package to Excel
task, an integration package of the current job that has a plug-in selected on it must have already been exported.
System Effects
- The defined scheduled task will be performed.
- The status of the operations and any errors or information with regard
to the task carried out is shown in the ScheduledTaskLog.txt file which will
be within the ..\logs\.. folder.
Window
N/A
Related Window Descriptions
N/A
Procedure
- Open the Scheduled Task Wizard. Click on the following
options in order, to do so: Start, Control Panel,
Scheduled Tasks and Add Scheduled Task.
- Click Next for Step 1 in the wizard.
- In Step 2, select your AIIM Installation in the Application list,
in order to create the scheduled task.
- Enter information in Steps 3-5 as required by you. Note: The
username and password entered in step 5 do not need to correspond to that of
your AIIM client username and password.
- In Step 6, select the Open advanced properties for this task when I
click Finish check box.
- Click Finish.
- In the Advanced Properties dialog box, in
the Run field, specify the arguments for the task to be performed.
These include the username, password, connecting server, job and task. The
parameters for the task are as follows:
For Export: EXPORTDATABASECORE
For Import: IMPORTDATABASECORE
For Export Plug-in (Excel): CONVERTTOEXCELBASIC
For Import Plug-in (Excel): CONVERTFROMEXCELBASIC
An example of a value in the Run field is as follows: "C:\Program
Files\IFS Applications\Asset Information Integration
Manager\Ifs.Application.PlantDesign.Migration.Manager.exe”
username=aiim1;password=aiim1;host=servername:58080;job=jobname;task=exportdatabasecore
Notes: Double quotation marks need to appear at the beginning and end of the
path to the exe.
There needs
to be a space between the path and the start of the arguments.
Arguments
will be separated by a “;” with no spaces in between.
- In the Start In field, specify the location from
which the AIIM application can be started. For example: "C:\Program
Files\IFS Applications\Asset Information Integration
Manager\Ifs.Application.PlantDesign.Migration.Manager.exe"
- Click OK.