Creating automation scripts

You create automation scripts to automate routine application tasks. You use the wizards to create scripts and launch points with associated variables and bindings. You can also use the wizards to associate launch points with existing scripts.

About this task

To automate tasks, you must have knowledge of the following areas:
  • Scripting language syntax and operations
  • Product configurations such as workflow processes, escalations, and actions
  • Application data models and relationships
Experience with Maximo® business object (MBO) API is an advantage although not a prerequisite.

You use the same menu items for creating scripts and launch points as you do for creating a launch point to associate with an existing script. For example, you use the Create > Script with Object launch point action to create a script and an object launch point, or to associate an object launch point with an existing script. In some automations, you must use the documented MBO APIs to automate a routine task. For example, when you automate a task that involves creating a record, you must use the documented MBO APIs for the record creation part of the automation.

Procedure

  1. In the Automation Scripts application, select the type of launch point that you want to create.
  2. In the first step, select whether to use a new or existing script.
    Option Description
    To use an existing script Specify or select the name of a script that exists in the Automation Scripts application
    To create a script Browse to import the script in the step 2 of the wizard. Alternatively, you can enter the source code in the final step of the wizard.
  3. Create the launch point, and then associate variables and bindings with the launch point.
  4. Click Create to save the launch point, variables, and script code.


Feedback