Skip to content
Part 11 of 12

What We Measured About Maximo's Inspection Forms

Before we built the mas-tools.com Inspection Form Editor, we measured how Manage stores inspection forms. This article lists seven behaviours that matter to every administrator who builds forms, what each one means for a form, and what the editor does about it.

An ink and watercolour notebook open on a bench with seven numbered entries of scribbled lines, each with a sketch: an open padlock, a torn pink page, a crossed-out label, cards moving between two trays, a paper clip, a box of cards in a crate, and a wall clock; a calliper and a stopwatch lie beside it

Before we built the mas-tools.com Inspection Form Editor, we measured how Manage stores an inspection form. Some of what we found matters to every administrator who builds forms, with our editor or without it. This article lists seven behaviours, what each one means for your forms, and what the editor does about it.

We checked the behaviour on our test system, on the MAS 9.2 series. Most measurements are plain requests to IBM’s stock object structure MXAPIINSPFORM, which IBM’s Inspection Forms application uses as well. After each request we read the rows that Manage had stored. A few cases we saw in a browser, through the editor. The test system holds IBM’s demo data and our own probe forms.

1. Manage accepts a change to an Active revision

An Active revision is the one that inspectors fill in. In IBM’s application, a change to it goes through Create revision and a new revision. We sent a change to a question of an Active revision through the object structure, and Manage stored it. We set it back afterwards.

So the protection of a live form sits in the client. An integration, a script or a tool that writes to MXAPIINSPFORM can change what inspectors see, with no new revision and no reason on record.

What the editor does. An Active, Inactive or Revised revision opens read-only, with one line that says why and a button that creates the next revision. Every save also carries the form’s row stamp, the version mark that Manage keeps on each record. We changed a form’s record and then sent a save with the older stamp. Manage refused it with BMXAA8229W and stored nothing of it.

2. One refused row refuses the whole save

A save through the object structure is one transaction. We sent saves that mixed good changes with one bad row: an alias that the form held already, a field without a type, and a question number that existed. Manage refused each save with its message. A read of the tables showed that none of the good changes of the same save was stored either.

Other refusals come from items that are unfinished or out of range:

  • a question or a section without text (BMXAA4195E, a value is required);
  • a choice without text, refused with the same message;
  • a numeric range whose start and end lie below zero (“Positive value required”).

For a tool that saves after every change, the refusals are a daily matter. A new question has no text for a few seconds. A save in those seconds sends the empty question, and Manage refuses every other change that travels with it.

Some names Manage accepts without a word. A signature field named a document folder that the system does not have, and Manage stored the field and activated the form.

The editor with a new, empty choice on question 2.4: the bar says that the choice waits for its text and everything else is saved, and the Check tab names one error, a choice without text

What the editor does. It holds an unfinished item back and saves everything else. The bar names the item that waits, as in “A choice of question 2.4 waits for its text. Everything else is saved.” The form check lists the same item as an error, and an error keeps the activation closed. A document folder, meter or domain that the system lacks is a warning of the form check.

3. A renamed alias leaves its formulas behind

A calculated field names other fields by their alias, as in :OILSTART - :OILEND. We renamed an alias that a formula used. Manage changed no formula, so the formula still named the old alias. Then we deleted a field that a formula named, and that formula also stayed as it was.

The fault shows up later. At the activation, Manage refused a form whose formula named an alias that no field had (BMXAA10314E), and the form stayed a Draft. So the message arrives when you want the form live, which can be days after the rename.

What the editor does. A rename of an alias rewrites every formula that names it, in the same save, as one step to undo. The formula box checks while you type: an alias that no field has, the field’s own alias, and a function that Manage refuses. A moment later Manage’s own formula check confirms the result. Formulas covers the rest.

4. An activation moves pending inspections

When a new revision becomes Active, inspections that were made for the revision before it can move along. We made inspection results in several states on revision 2 of a probe form and then activated revision 3. The three results in the status PENDING moved to revision 3. One result each in progress, in review, completed and cancelled stayed on revision 2. A pending result of revision 1 stayed on revision 1.

A work order that we had cancelled left its inspection result in PENDING, and that result moved to the new revision as well. On our test system the system property mxe.app.inspection.UpdatePendingResults is 1.

What the editor does. Before an activation, the dialog reads the property and the inspection results with your account. It names what moves and what stays, and when nothing moves it says why. It also names the job plans, route stops and open work orders that use the form, because new inspections from them take the new Active revision.

We added a file to a form and removed it again. Manage deleted the link, and with it the document and its file, because no other record linked to that document. Then we sent a new link to the same document, as an undo would. Manage refused it with iface#nodocinfo.

A deleted question leaves rows behind. We deleted a question that had two attachments. The question’s row went, and both attachment links stayed in Manage, with no question to belong to.

What the editor does. Remove asks first and says that Undo does not bring the file back. When an undo brings back a deleted question, the editor links its attachments again where Manage still holds the document, and it names each file that is gone.

6. Without a volume, the files live in Manage’s pod

Our test system had no persistent volume for attachments at first. The document folders still carried the Windows paths of IBM’s demo data, such as \DOCLINKS\ATTACHMENTS. On the Linux pod, Manage made a directory with that literal name, backslashes included, inside its server folder. So every attached file lived in the pod. When the pod was replaced, the files were gone, and the database still held their records. Manage then answered the read of such a document with a Java error text.

IBM describes the setup on its support page Configure PersistentVolumeClaim for Doclink File Storage in Maximo Manage on OpenShift: a claim mounted at /DOCLINKS, and the doclink system properties that point at it. Our test system runs that way now.

What the editor does. For an attachment whose file Manage no longer has, it shows a page that says so, and Remove takes the link away. The volume is Manage’s own setting, and our installation guide lists it among the things an installation needs.

7. The server time zone must be the database’s time zone

Our test system ran Manage with the server time zone GMT, while the database wrote its times in Central European Time. Manage read each stored time as GMT, so every date showed one hour ahead. IBM’s application showed the same hour as the editor.

IBM’s support page Set Manage serverTimezone to match Database time zone in IBM Maximo Application Suite gives the rule: the server time zone has to be the database’s time zone. We set it that way on our test system.

What the editor does. It shows each time as Manage answers it, so a wrong server zone shows in the editor too. The installation guide names the setting together with the attachment volume.

What comes next

Side by side compares IBM’s Inspection Forms application and the editor, task by task. It works as you shows which options the editor follows and why Manage stays unchanged. The mas-tools.com Inspection Form Editor page lists the whole series.

Have you seen one of these behaviours on your own system? Get in touch.

IBM and Maximo are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide.

← Back to mas-tools.com Inspection Form Editor

See the tools on your own data.

Ask us for a price, a trial licence or a demo. We work in English and German.