Rolling up maintenance costs by using an automation script

Use an automation script to do a one-time rollup that resolves all preexisting transactions. The script updates the total cost and YTD cost of each asset that is associated with a work order that was closed after you committed your previous rollup.

Procedure

  1. Download the automation script. Copy the script to a location that is accessible by Maximo® Manage.
  2. To create the automation script, log in to Maximo Manage as an administrator.
  3. From the More Actions menu, select Create > Script.
  4. In the Create Script window, enter a name and description for your script.
  5. In the Script Language field, enter jython.
  6. Copy the script from the file that you downloaded to the Script field in the Create Script window.
  7. Click Create.
    A system message is displayed to indicate that the script was created successfully.
  8. Close the system message.
  9. Using a REST client (such as the Firefox RESTClient extension), send the following URL request by using the POST method to start the automation script that you created:
    http://<maximo_url>:<maximo_port>/maximo/oslc/script/<automation script name>
    Note: This step can take a few minutes depending on the number of records that must be processed.
  10. Confirm the receipt of a status 200, which indicates the rollup process was completed successfully.