Upon creation of a automation script in IBM Control Desk / Maximo an array of implicit variables are created, according to the IBM docs:
Implicit variables are variables that you do not define. These variables are automatically provided by the framework. Some implicit variables are valid only when associated with a declared variable while others are not associated with any other variables.
In addition to implicit variables, a Maximo® business object (MBO) is also available to every script. You refer to the current business object by using the mbo reserved word.
From these docs:
When trying to use mbo
with the following code inside a newly created Automation Script with no launch point:
mboSet = mbo.getThisMboSet()
I get the following error message:
NameError: name 'mbo' is not defined
This seems strange to me as mbo is a implicit variable that should be accessible.
I am new to Maximo and don't have enough experience to debug this problem at this point. How would I acces the mbo variable and use it? Thanks in advance.