IBM Support

How do I check if a field is read-only in a script

Question & Answer


Question

I need to check a single attribute. I'm looping through a mboset and want to set a boolean field to true but only if it's not read-only.

For Example:

image-20221220134744-1

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"ARM Category":[{"code":"a8m50000000CbQzAAK","label":"System Administration-\u003EAutomation Script"}],"ARM Case Number":"TS011134091","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Maximo Asset Management

Component:
System Administration->Automation Script

Software version:
All Versions

Document number:
6849233

Modified date:
20 December 2022

UID

ibm16849233

Manage My Notification Subscriptions