Course 1, self-paced

AI-Safe Automation Scripts for MAS Migrations

By the end you can review any automation script, AI-written or converted from Java, and give a clear go or no-go with the fixes required.

6 modules, 7 lessons, 4 quizzes, an assignment and a capstone

Launch price, one-time payment

$149

Enrollment is open. Secure card checkout; your login arrives by email right after payment.

Buy the course, $149Read the free sample first
  • Lifetime access to this course
  • Updates when IBM changes things
  • 30-day refund
Buying for a team? See team pricing

This is for you if

  • You write, review or approve Maximo automation scripts
  • Your team is moving to MAS and converting Java customizations
  • People are using AI assistants to write scripts and you want guardrails

It is not for you if

  • You want an introduction to Maximo itself
  • You need MAS installation or OpenShift administration
  • You have never read a line of Python

What you will cover

Module 1Where AI-written scripts go wrongLesson and quiz
Module 2Launch points, events and choosing the right triggerLesson and quiz
Module 3MboSets: who owns them, closing them, keeping saves fastLesson and hands-on assignment
Module 4Safe where clauses with SqlFormat and site filtersLesson and quiz
Module 5Access check flags, credentials and logsLesson and quiz. Free sample below
Module 6Production testing, rollback and AI-specific risksTwo lessons and the capstone

Free sample, no account needed

Lesson 5.1: Access check flags, credentials and logs

When a script sets a field, it can pass flags from MboConstants that change what Maximo does around that change. The common ones:

  • NOVALIDATION (1): skip the field's validation routine.
  • NOACCESSCHECK (2): skip access control checks, such as read-only rules and security restrictions.
  • NOACTION (8): skip the field's action routine, the logic that normally runs after a valid change.
  • NOVALIDATION_AND_NOACTION (9): skip both.

Why AI-written code overuses them

A common sequence: the script fails with "field is read-only" or a validation error, someone asks an AI assistant to fix it, and the fix adds NOACCESSCHECK. The error goes away. So does the protection the error was providing.

Bypassing actions can also break things far from the script. IBM support record APAR IJ51455 describes a case where changing a configuration item's status with the NOACCESSCHECK flag succeeded, but the status did not propagate the way it normally would. The change looked fine and the system was quietly inconsistent.

When a flag is justified

Flags are sometimes the right tool. The test: a comment in the code explains exactly why the flag is needed, and a reviewer agrees with it. Status fields in particular should change through the status change methods, so status rules and history still apply.

# Risky: added to make an error disappear
wo.setValue("STATUS", "APPR", MboConstants.NOACCESSCHECK)

# Better: use the status change API
wo.changeStatus("APPR", MXServer.getMXServer().getDate(), "Approved by script")

Credentials never belong in a script

Anyone who can open the Automation Scripts application can read a password or key written into a script, and it travels with every migration package and export. Credentials belong in endpoint configuration or a secured system property. If you find one, treat it as exposed: remove it and rotate it.

What never goes in a log

Logs are often readable by more people than the data itself. Log that a secret was present, never its value.

# Risky
service.log_debug("Calling endpoint with key " + apiKey)

# Better
service.log_debug("Calling endpoint, key present: " + str(apiKey is not None))

Sources: IBM Maximo automation script documentation (MBO constants); Maximo MboConstants API reference; IBM Support APAR IJ51455. Checked 28 November 2026.

Before you buy

How long does it take?

Each lesson is a focused read with worked examples. Go at your own pace; access does not expire.

What if it is not useful?

Ask for a refund within 30 days of purchase and you get it.

Is my code safe in the assignments?

Assignments ask you to remove credentials and customer data first, and nothing is shared outside your account.

Is this IBM training?

No. Load Bearing is independent and not affiliated with IBM. Every technical claim cites IBM sources so you can check it.

Ready to review scripts with confidence?

Buy the course, $149