Join / Log in
Learn how to increase the operational efficiency of the assets you manage, and improve overall equipment effectiveness by using IoT data and AI.
Reduce the operational costs of the facilities you manage, and create more engaging occupant experiences through the application of IoT data and AI.
Learn how IoT data and AI are being applied to transform the end-to-end engineering lifecycle.
The REST API documentation covers this a bit (https://developer.ibm.com/static/site-id/155/maximodev/restguide/Maximo_Nextgen_REST_API.html#_automation_scripts) but doesn't explicitly discuss the implicit variables (just references them). There was a PDF on automation script development that IBM is going to work on updating, but I don't have a recent link to it.
For the variables, this may vary based on version, but at least in the latest (126.96.36.199), the following are variables that I see looking at the code (ScriptRouteHandler) in addition to the ones I talked about above:1) responseHeaders - Based on the name, I assume you can modify the headers returned on a response though haven't tested it myself2) userInfo - This avoids needing to call request.getUserInfo() if you're trying to open a set, get some information about the logged in user, etc.3) httpMethod - For seeing whether it was a POST/PUT/GET